Skip to content
Snippets Groups Projects
  1. May 22, 2019
    • Matthias Grob's avatar
    • Matthias Grob's avatar
      mc_pos_control: fix smooth takeoff ramp · 5e238833
      Matthias Grob authored
      - start from a velocity setpoint pushing into the ground
      to ramp from idle thrust up.
      - start with a bit higher velocity setpoint threshold to make
      sure the vehicle has a chance to really get off the ground.
      - calculate ramp slope from initialization setpoint to the desired one
      instead from zero to the desired. this ramps up quicker when you demand
      a very small upwards velocity like the AutoLineSmoothVel and
      ManualPositionSmoothVel tasks do at the beginning.
      - don't stay in the takeoff ramp depending on the land detector, this
      is unnecessary.
      5e238833
    • Matthias Grob's avatar
      mc_pos_control: refactor smooth takeoff names · bc77302f
      Matthias Grob authored
      The comments and variable names were partly misleading.
      I grouped all members, hopefully gave them more
      understandable names and adjusted the comments.
      bc77302f
    • Matthias Grob's avatar
      mc_pos_control: refactor smooth takeoff call · 6d5d09c2
      Matthias Grob authored
      There were two rather confusing function calls one to check
      if smooth takeoff needs to be ran and one that updates it.
      I combined them and documented the interface correctly
      making the parameters non-reference const floats.
      6d5d09c2
  2. May 20, 2019
  3. May 17, 2019
  4. May 16, 2019
    • Julian Oes's avatar
      modules/lib: ignore address-of-packed-member · 9d8015d0
      Julian Oes authored
      For now we need to ignore this warning which GCC 9 shows for the MAVLink
      headers.
      9d8015d0
    • Julian Oes's avatar
      drivers: fix -Wstringop-truncation · b20feacd
      Julian Oes authored
      GCC 9 complained about stringop-truncation which is a cautionary message
      to prevent using strncpy with non-null terminated strings.
      
      We can fix this by copying one byte less than the destination size and
      then manually adding the null termination, as we already do.
      b20feacd
  5. May 11, 2019
  6. May 09, 2019
  7. May 08, 2019
  8. May 07, 2019
    • bresch's avatar
    • bresch's avatar
      MC gyro cutoffs - Reduce IMU_GYRO_CUTOFF to 30Hz and disable MC_DTERM_CUTOFF. · 6d8d8e3c
      bresch authored
      A low gyro cutoff is needed for most medium/large size drones as the structural natural and blade-pass frequencies are low.
      A higher value is still desirable for small platforms surch as racers
      or well isolated autopilots and should be tuned by the user.
      Specific values for config files are untouched.
      The cutoff filter for the D term is disabled here as the required
      cutoff frequency for the default D term of the rate controller is higher
      than the gyro cutoff. In that case, enabling the D term cutoff would
      just add some undesired phase lag to the derivative.
      6d8d8e3c
  9. May 06, 2019
  10. May 05, 2019
  11. May 02, 2019
  12. May 01, 2019
  13. Apr 30, 2019
Loading