mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Sub: change circle_nav.set_radius to circle_nav.set_radius_cm
This commit is contained in:
parent
e01ca79251
commit
8fe9a8e9f6
@ -180,7 +180,7 @@ void Sub::auto_circle_movetoedge_start(const Location &circle_center, float radi
|
|||||||
|
|
||||||
// set circle radius
|
// set circle radius
|
||||||
if (!is_zero(radius_m)) {
|
if (!is_zero(radius_m)) {
|
||||||
circle_nav.set_radius(radius_m * 100.0f);
|
circle_nav.set_radius_cm(radius_m * 100.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
// check our distance from edge of circle
|
// check our distance from edge of circle
|
||||||
|
Loading…
Reference in New Issue
Block a user