1. 21 Sep, 2021 2 commits
  2. 06 Sep, 2021 7 commits
  3. 02 Sep, 2021 1 commit
  4. 31 Aug, 2021 5 commits
  5. 30 Aug, 2021 2 commits
    • Daniel Agar's avatar
    • Jukka Laitinen's avatar
      Fix memory corruption when work queue is being deleted · d1c09ec3
      Jukka Laitinen authored
      
      
      When the last WorkItem is deleted, it is removed from a work queue and the
      queue is being stopped. But, the queue itself might get deleted in the middle,
      in a higher priority thread than where the WorkItem deletion was performed from
      
      If the WorkQueue::Detach accesses the member variables after this, there is memory
      corruption
      
      This happens in particular when launching i2c or spi devices in
      I2CSPIDriverBase::module_start:
      
      - The "initializer" is deleted when the instance is not found and the iterator
        while loop continues.
      - The workqueue is deleted in the middle of "initializer" deletion when the
        WorkQueueRunner returns.
      
      This prevents deletion of the WorkQueue before the Detach has been finished,
      in the specific case that the ::Detach triggers the deletion
      Signed-off-by: default avatarJukka Laitinen <jukkax@ssrc.tii.ae>
      d1c09ec3
  6. 27 Aug, 2021 2 commits
  7. 23 Aug, 2021 1 commit
  8. 21 Aug, 2021 10 commits
  9. 12 Aug, 2021 2 commits
  10. 02 Aug, 2021 1 commit
  11. 01 Aug, 2021 3 commits
  12. 27 Jul, 2021 1 commit
  13. 26 Jul, 2021 1 commit
  14. 23 Jul, 2021 2 commits
    • Julian Oes's avatar
      mavlink: fix offboard velocity input · 349dd630
      Julian Oes authored
      This reverts the behavior for offboard velocity setpoint.
      
      Back in v1.11, the velocity input in NED_BODY was assumed to be in the
      world frame but rotated by yaw to the vehicle frame. With the current
      state the frame is completely fixed to the body. While this might be
      technically correct, it doesn't seem much intuitive for multicopters
      and breaks the MAVSDK offboard velocity API.
      
      So as an example, with a velocity setpoint of 5 m/s forward, the drone
      would in
      - v1.11: fly forward with 5 m/s
      - v1.12: start to fly forward by pitching down but then descend rapidly
        as the forward velocity would translate to a setpoint in Z into the
        ground as it is pitched down.
      
      This commit restores the behavior to what we had previously.
      349dd630
    • David Sidrane's avatar
      Revert "nxp_fmuk66-v3:DMA Poll not needed" · 6b51c639
      David Sidrane authored
      This reverts commit 962f0222.
      6b51c639