Skip to content
Snippets Groups Projects
  1. Feb 22, 2019
  2. Feb 21, 2019
  3. Feb 20, 2019
  4. Feb 19, 2019
  5. Feb 18, 2019
    • Julian Oes's avatar
      jMAVSim: update submodule, use -lockstep CLI arg · 18f7ee2d
      Julian Oes authored
      This updates the jMAVSim submodule which includes a fix for HITL.
      In order to fix HITL, a CLI argument `-lockstep` was required to enable
      lockstep. This has now been added to the command in jmavsim_run.sh.
      18f7ee2d
    • mcsauder's avatar
    • Julian Oes's avatar
      sensors: prevent double orb_copy of gyro topic · 4dea79b2
      Julian Oes authored
      By using the uORB::Subscription API we use a separate subscription
      rather than `orb_copy` on the existing file descriptor used in
      sensors through `px4_poll`.
      
      This fixes a very peculiar problem that we observed in SITL in CI for
      fixedwing. The events were as follows:
      
      1. `sensors` does `px4_poll` on the gyro topic (as normal), and gets
         the latest sample using `orb_copy`.
      2. A parameter update happens when the mag is initialized and triggers
         `VotedSensorsUpdate::parameters_update()` where `orb_copy` happens
         before the main loop in `sensors` has started a `px4_poll`.
      3. `sensors` now does the `px4_poll`, however waits indefinitely because
         it has already copied the latest sample.
         Also, the `px4_poll` will never time out because in lockstep the
         simulator waits for the next actuator control message which it never
         gets and therefore it never sends the next sensor message with a new
         timestamp to advance the time.
      
      This only happens for fixedwing because there is only one "uORB path"
      through the system unlike for multicopter where a gyro sample can get
      picked up by either `sensors` or directly `mc_att_control`, so the
      system can survive if `sensors` has "drops".
      4dea79b2
    • Daniel Agar's avatar
      Jenkins SITL restore FW tests · 2e10bba8
      Daniel Agar authored
      2e10bba8
    • Daniel Agar's avatar
      Jenkins SITL tests coverage temporarily disable process_logdata_ekf.py coverage · 344f6324
      Daniel Agar authored
       - need to update to python3 coverage.py.
      Unverified
      344f6324
    • David Sidrane's avatar
      stm32 drv_io_timer: Prevent glitch on PWM outputs (#11453) · 0705d6c8
      David Sidrane authored
      Rate changes were doing an asynchronous register reload via the EGR_UG. This could extend a PWM pulse up to 2X.
      
      This fix removes the asynchronous update. The net effect is the the rate change will occur on the next counter expiration. The worst case is the rate change is delayed by 20 Ms.
      0705d6c8
Loading