-
- Downloads
[Main][HIL] Implemented HIL simulation for the Main 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 main-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
Showing
- src/boards/Main/Configs/HILSimulationConfig.h 681 additions, 0 deletionssrc/boards/Main/Configs/HILSimulationConfig.h
- src/boards/Main/Sensors/HILSensors.cpp 496 additions, 0 deletionssrc/boards/Main/Sensors/HILSensors.cpp
- src/boards/Main/Sensors/HILSensors.h 134 additions, 0 deletionssrc/boards/Main/Sensors/HILSensors.h
- src/boards/Main/Sensors/Sensors.h 60 additions, 60 deletionssrc/boards/Main/Sensors/Sensors.h
- src/entrypoints/Main/main-entry.cpp 109 additions, 1 deletionsrc/entrypoints/Main/main-entry.cpp
Loading
Please register or sign in to comment