-
- Downloads
[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
Showing
- cmake/dependencies.cmake 1 addition, 0 deletionscmake/dependencies.cmake
- src/boards/Payload/Buses.h 1 addition, 1 deletionsrc/boards/Payload/Buses.h
- src/boards/Payload/Configs/HILSimulationConfig.h 624 additions, 0 deletionssrc/boards/Payload/Configs/HILSimulationConfig.h
- src/boards/Payload/Sensors/HILSensors.cpp 503 additions, 0 deletionssrc/boards/Payload/Sensors/HILSensors.cpp
- src/boards/Payload/Sensors/HILSensors.h 114 additions, 0 deletionssrc/boards/Payload/Sensors/HILSensors.h
- src/boards/Payload/Sensors/Sensors.h 46 additions, 46 deletionssrc/boards/Payload/Sensors/Sensors.h
- src/boards/Payload/StateMachines/WingController/WingController.h 6 additions, 6 deletions...rds/Payload/StateMachines/WingController/WingController.h
- src/entrypoints/Payload/payload-entry.cpp 111 additions, 1 deletionsrc/entrypoints/Payload/payload-entry.cpp
Loading
Please register or sign in to comment