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 17, 2019
  3. May 16, 2019
  4. May 11, 2019
  5. May 09, 2019
  6. May 08, 2019
    • Roman Bapst's avatar
      VTOL transitions: use FW attitude loop (#11911) · 816aa0ff
      Roman Bapst authored
      * VTOL trans: changed that now in transition for both MC and FW the corresponding (correct) attitude controller is running
      * attitude setpoint for stabilized mode is generated by tailsitter.cpp
      * reset yaw setpoint during transition to avoid big yaw errors after
      transition back to hover
      * VT_TYPE parameter: added "reboot required" metadata
    • Matthias Grob's avatar
      PositionControl: tiny minimal thrust length · f30f1234
      Matthias Grob authored
      To be able to still infer the direction of the thrust vector we
      limit it to a minimal length even if MPC_THR_MIN is set to zero.
      
      Note: This is a hotfix for certain specific applications.
      The direction of the thrust vector in this corner case is very
      likely to get into the tilt limit which is generally undesired.
      f30f1234
  7. 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
  8. May 06, 2019
  9. May 05, 2019
  10. May 02, 2019
    • Beat Küng's avatar
      uorb: avoid printf while DeviceMaster is locked · 74990cad
      Beat Küng authored
      This fixes a potential dead-lock when 'uorb status' was used via MAVLink
      shell.
      The dead-lock chain is: DeviceMaster::lock() -> printf -> output to a pipe,
      which blocks until a reader reads the data. In that case it's mavlink.
      If mavlink makes a call that requires DeviceMaster::lock() (such as
      orb_exists), it dead-locks.
      
      This patch moves all printf's out of the locked state.
      74990cad
  11. May 01, 2019
  12. Apr 30, 2019
  13. Apr 29, 2019
  14. Apr 26, 2019
  15. Apr 25, 2019
  16. Apr 24, 2019
Loading