Skip to content

Commit 77fa5d7

Browse files
committed
ArduCopter: clarify frame of get_location_from_origin_offset
... by renaming it get_location_from_origin_offset_NED
1 parent 84e78f5 commit 77fa5d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ArduCopter/mode_circle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ bool ModeCircle::init(bool ignore_checks)
2828
if (copter.circle_nav->roi_at_center()) {
2929
const Vector3p &pos { copter.circle_nav->get_center() };
3030
Location circle_center;
31-
if (!AP::ahrs().get_location_from_origin_offset(circle_center, pos * 0.01)) {
31+
if (!AP::ahrs().get_location_from_origin_offset_NED(circle_center, pos * 0.01)) {
3232
return false;
3333
}
3434
// point at the ground:

0 commit comments

Comments
 (0)