Skip to content
Snippets Groups Projects
  1. Mar 15, 2024
    • Emilio Corigliano's avatar
      [SBS] Updated cmake to test build a static library instead of an executable... · a742d4af
      Emilio Corigliano authored
      [SBS] Updated cmake to test build a static library instead of an executable and build also if build system finds clang++
      a742d4af
    • Emilio Corigliano's avatar
    • Emilio Corigliano's avatar
    • Emilio Corigliano's avatar
    • Emilio Corigliano's avatar
      [HIL] Fixed namespace issues, formatting in HILSensor print, cppcheck issues... · dd17ff15
      Emilio Corigliano authored
      [HIL] Fixed namespace issues, formatting in HILSensor print, cppcheck issues and turned printf in TRACEs
      dd17ff15
    • Emilio Corigliano's avatar
      [HIL] Updated the framework structure · dc2ebfba
      Emilio Corigliano authored
      In general the framework now is a lot more versatile since the application specific structures are passed as templates.
      
      [HIL]
      - HIL accepts a pointer to the HILTransceiver and HILPhasesManager objects and manages their insertion, start and stop just by interacting with the HIL instance.
      - HIL now exposes a method to wait until the simulation started (first packet from simulator is received).
      - HIL now is an Active Object. The run method implements the periodic setting of the ActuatorData through an updateActuatorData function passed in the constructor.
      
      [HILTransceiver]
      - HILTransceiver now is templated on the flightPhases flags, SimulatorData and ActuatorData
      - HILTransceiver now extends a base class to perform type erasure and get more easily the class from ModuleManager
      - HILTransceiver now has an internal variable to store the number of lost updates
      - HILTransceiver now has a PrintLogger
      - HILTransceiver::getSensorData now returns a constant pointer since the values of the sensorData struct shouldn't be changed outside of this class
      
      [HILPhasesManager]
      - HILPhasesManager now is templated on the flightPhases flags, SimulatorData and ActuatorData
      - HILPhasesManager now extends a base class to perform type erasure and get more easily the class from ModuleManager
      - HILPhasesManager is now a virtual class. Every simulation should create its own HILPhasesManager implementing the methods processFlags, printOutcomes, handleEvent, updateSimulatorFlags
      
      [HILSensor]
      - HILSensor now is templated on HILSensorData (the structure the sensor outputs), SimulatorSensorData (the structure the simulator sends), N_DATA (the number of samples the simulator sends).
      - As a constructor parameter, a pointer to a SimulatorSensorData
      - Using the PrintLogger
      - Every particular HILSensor implements his SimulatorData structure (e.g. AccelerometerSimulatorData), which is templated on the N_DATA parameter
      
      [HILSimulationConfig]
      - Implemented an example of implementation of the HIL components
      - Created a types to simplify usage of the HIL framework
      dc2ebfba
    • Emilio Corigliano's avatar
      [HIL] Moved HIL framework from OBSW to boardcore · cb35f4f4
      Emilio Corigliano authored
      WARNING! Not compiling. Useful only for reference on the changes done on the framework wrt before
      cb35f4f4
  2. Mar 14, 2024
  3. Mar 13, 2024
  4. Mar 09, 2024
  5. Mar 05, 2024
  6. Feb 27, 2024
  7. Dec 11, 2023
  8. Nov 24, 2023
  9. Nov 21, 2023
Loading