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

[HIL] Moved HIL framework from OBSW to boardcore, enhanced with HILSensor and...

[HIL] Moved HIL framework from OBSW to boardcore, enhanced with HILSensor and hillificator, turned all sensor drivers HIL compliant

- HIL is now the single point of contact of the whole framework (HILTransceiver and HILPhasesManager); Its run method implements the periodic set of the actuators status to be sent back to the simulator.
- HILPhasesManager is in charge of changing HIL flags, registering callbacks for specific flags, registering outcomes for important flight phases.
- HILTransceiver is in charge of handling the HIL communication through the serial port
- Implemented a move constructor for Sensor;
- To Mock a sensor and use in the HIL framework it's not needed a specific HILSensors for each data type but it is mocked by means of the move constructor thanks to the hillificator helper function. An HILSensor behaves just like the real sensor (real sensor sampling can be enabled to use also the driver's code) but exposing the samples coming from the simulator.
- A test has been implemented to give a usage example of the framework;
- All sensors have been checked so that they aren't final and they have sampleImpl protected;
parent 802027ed
No related branches found
No related tags found
Loading
Checking pipeline status
Showing
with 826 additions and 13 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment