mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-30 12:14:07 +08:00
* Use position instead of last setpoint This calculates the target velocities better taking into account disturbances along the flight route. Previously entry angles and more were calculated assuming the flight path originates directly from the direction of the previous waypoint. This corrects this assumption to instead make the direction come from the vehicle location. * Allow to specify a final speed given a braking distance. This is to allow planning to not stop at a waypoint, but instead to reach the waypoint while maintaining a certain velocity * Updated src/lib/matrix * Account for speed at target when determining constraints * Separate constraints into x/y components * Use setpoint position, not vehicle position * Fix whitespace, add documentation