mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 01:53:33 +08:00
Pr update matrix (#15520)
* Update submodule Matrix * replace deprecated matrix functions * update submodule ECL * Update Matrix submodule * Use absolute value of loiter radius * Update ECL submodule
This commit is contained in:
@@ -440,7 +440,7 @@ MissionBlock::is_mission_item_reached()
|
||||
|
||||
// Replace current setpoint lat/lon with tangent coordinate
|
||||
waypoint_from_heading_and_distance(curr_sp.lat, curr_sp.lon,
|
||||
bearing, curr_sp.loiter_radius,
|
||||
bearing, fabsf(curr_sp.loiter_radius),
|
||||
&curr_sp.lat, &curr_sp.lon);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user