Skip to content
Snippets Groups Projects
  1. Nov 18, 2024
  2. Nov 05, 2024
  3. Oct 28, 2024
  4. Oct 02, 2024
    • Nicolò Caruso's avatar
      [GS, ARP fix] Fixes from MR review. Mutex, std::chrono and more. · e9cc73ec
      Nicolò Caruso authored
      - Follower -
      Mutex: Propagator state now using the mutex for the state in the step to avoi ABA issues. Also protecting in setting the NAS for nrPropagations.
      SetState no more used.
      std::chrono for constructor
      
      - FollowerData -
      Added AntennaAnglesLog, removing nrPropagations from AntennaAngles
      And changes to constructors for wrapper structures
      
      - Propagator -
      std::chrono for constructor
      Tests for propagator updated to use std::chrono
      
      - Dipswitch -
      std::chrono for constructor
      Comments for pins and read order
      
      [Fix] Added #include<cstdint> for logdecoder use in StepperData
      
      Logdecoder compilation fails due to missing include for uint64_t type in SteperData.
      
      [Fix] Cmakelist test-serial fix
      
      [Fix] Follower's minimize rotation to non-class static function
      
      [ARP] FollowerData void constructor removed for AntennaAnglesLog
      
      [Follower fix] Fixed old log
      e9cc73ec
  5. Oct 01, 2024
    • Nicolò Caruso's avatar
      [Driver] DipSwitch driver and test · 2b1dc297
      Nicolò Caruso authored
      [CI] Fixed CI, using namespace miosix was in DipSwitch.h
      
      [ARP, LyraGS] Follower logging target angle. Dipswitch now agnostic.
      
      Dipswitch now just read a uint8_t, no more has a lyra GS dependent read.
      Follower now logging the target angle.
      
      [DipSwitch] Fix on the test of the dipSwitch
      
      Dipswitch now agnostic to the lyraGS struct, just a uint8_t read.
      Fixed test to read accordingly.
      
      [Fix] Dipswitch comment fix
      2b1dc297
    • Emilio Corigliano's avatar
      [SkyQuaternion] Added quat2stepperAngles method and catch test · 44a0ead0
      Emilio Corigliano authored and Nicolò Caruso's avatar Nicolò Caruso committed
      Method to convert quaternions to euler angles assuming that the roll stays close to 0. This applies to systems with 2 DoFs (yaw and pitch).
      
      [SkyQuaternion] Fixed warning on type comparison
      44a0ead0
    • Federico Lolli's avatar
      [Propagator] Implementation of a Linear Propagator and its catch-test. · 11e9a27e
      Federico Lolli authored and Nicolò Caruso's avatar Nicolò Caruso committed
      Created the algorithm of a basic propagator which linearly propagates the last available rocket position by means of the rocket NAS velocity.
      A catch test has been implemented to test the algorithm in a static environment, a dynamic one and with different update frequencies.
      
      [Propagator] Now the constructor parameter must be passed in ms
      11e9a27e
  6. Sep 24, 2024
  7. Aug 21, 2024
  8. Aug 19, 2024
    • Emilio Corigliano's avatar
      [HIL] Moved HIL framework from OBSW to boardcore, enhanced with HILSensor and... · 5f1c2a6a
      Emilio Corigliano authored
      [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;
      5f1c2a6a
    • Emilio Corigliano's avatar
      [BSRAM] Add Backup SRAM support for LYRA boards and relative test · 53486f77
      Emilio Corigliano authored and Niccolò Betto's avatar Niccolò Betto committed
      53486f77
  9. Aug 09, 2024
  10. Jun 25, 2024
  11. Jun 14, 2024
  12. Apr 24, 2024
  13. Apr 12, 2024
  14. Feb 27, 2024
  15. Sep 13, 2023
  16. Sep 06, 2023
  17. Aug 19, 2023
  18. Aug 14, 2023
  19. Aug 07, 2023
    • Davide Mor's avatar
      [sx1278] Improved driver: · cf20ad4a
      Davide Mor authored and Matteo Pignataro's avatar Matteo Pignataro committed
       - Inproved FSK driver to be like LoRa driver;
       - Added FIFO to support 256 bytes as MTU;
       - Improved driver interface;
       - Removed DIO number in interrupt handling functions;
       - Improved test entrypoints
      cf20ad4a
  20. Aug 01, 2023
  21. Jul 02, 2023
  22. Jul 01, 2023
  23. Jun 30, 2023
  24. Jun 14, 2023
  25. Jun 13, 2023
  26. Jun 10, 2023
    • Emilio Corigliano's avatar
      [USART] Improved USART driver · 6370560d
      Emilio Corigliano authored
      - Checked and fixed the baudrate calculation and used `getAPBPeripheralsClock`;
      - Removed init method: Some checks are present only as asserts, but the most part of the initialization is performed in the constructor. This usually won't be an issue till we don't try to create a non supported USART (an assert is used to check for this). Removing the init method we delete the issue on forgetting to initialize the bus;
      - Changed interface for read: USART and STM32SerialWrapper have `readBlocking` (waits for at least one byte to be received) while only USART has the non-blocking `read` method that returns true if the driver received something and false otherwise; Also, both methods are overloaded to support or not the return of the number of bytes read;
      - Removed pins from the `USART.h` file;
      - Avoided internally initializing pins in the STM32SerialWrapper driver. We will always have to initialize them externally;
      - Enhanced the ifdefs present in the driver to address peripherals and not targets;
      - Now baudrate is passed as an integer, so the driver is not limited to the standard baudrates. Anyway the list of default baudrate values is present in the documentation;
      - Removed all the other wrappers of the miosix serial driver so that all the codebase uses the USART driver;
      - Enhanced documentation;
      - Small code refactoring
      - Enhanced ISR code
      6370560d
  27. Jun 06, 2023
  28. Jun 03, 2023
  29. May 30, 2023
  30. Apr 24, 2023
Loading