Skip to content
Snippets Groups Projects
Commit 94a5506f authored by Emilio Corigliano's avatar Emilio Corigliano
Browse files

[Payload][HIL] Implemented HIL simulation for the Payload computer

- Turned all Sensors methods virtual to be overwritten by HILSensors
- Converted the Sensors "private" specifier to protected to allow HILSensors to inherit from it
- Implemented all the overrides in HILSensors to interface with the simulation and remap to the structures of the real sensors
- Modified payload-entry to embed the hilSimulationActive flag for enabling the HIL simulation
- Added the pieces of code useful to perform an HIL simulation from the actual main:
   - Usage of Sensors/HILSensors
   - Creation/insertion/starting of the HIL framework
   - Creation of the chain of events necessary to perform a reproducible HIL simulation
- Set the USART2 buffer to be 1024
- Exposed the control algorithm in the wingController

TODO: Need to check the implementation of HILSensors since some sensors are not properly used.
WARNING: Modified WingController to expose the EarlyManouverAlgorithm so that the psiRef can be get
parent f072b226
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment