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. Apr 04, 2019
  3. Apr 03, 2019
  4. Mar 15, 2019
  5. Mar 12, 2019
  6. Feb 28, 2019
  7. Feb 25, 2019
  8. Feb 13, 2019
  9. Jan 29, 2019
  10. Jan 26, 2019
  11. Jan 25, 2019
  12. Jan 17, 2019
  13. Jan 16, 2019
  14. Jan 08, 2019
    • Dennis Mannhart's avatar
      PositionControl: skip controller only if adjusted thrust setpoint are not finite · 5887a239
      Dennis Mannhart authored
      PositionControl: update comment about the order of thrust and position
      
      mc_pos_control: reset setpoints to NAN if required
      
      MulticopterLandDetector: consider to be landed if vehicle is not armed
      
      mc_pos_control: initialize landing struct with landed
      
      mc-pos-ctrl: adjust thrust-setpoint and yaw during ground-contact/maybe-landed without capturing
      that information within vehicle-local-position-setpoint topic because that information
      does not belong to user intention
      
      PositionControl: set local position/velocity setpoint to NAN if not used in the control pipeline
      
      mc-pos-ctrl: Fill vehicle_local_position_setpoint_s structure as follow:
      The message contains setpoints where each type of setpoint is either the input to the PositionController
      or was generated by the PositionController and therefore corresponds to the PositioControl internal states (states that were generated by P-PID).
      Example:
      If the desired setpoint is position-setpoint, _local_pos_sp will contain
      position-, velocity- and thrust-setpoint where the velocity- and thrust-setpoint were generated by the PositionControlller.
      If the desired setpoint has a velocity-setpoint only, then _local_pos_sp will contain valid velocity- and thrust-setpoint, but the position-setpoint
      will remain NAN. Given that the PositionController cannot generate a position-setpoint, this type of setpoint is always equal to the input to the
      PositionController.
      
      mc_pos_control: switch to designated initializer for landed
      
      It's less error prone because it produces an error on every discrepancy.
      5887a239
  15. Dec 22, 2018
  16. Dec 10, 2018
  17. Dec 08, 2018
  18. Dec 04, 2018
Loading