Skip to content

Commit

Permalink
ArduCopter: clarify frame of get_location_from_origin_offset
Browse files Browse the repository at this point in the history
... by renaming it get_location_from_origin_offset_NED
  • Loading branch information
peterbarker committed Jun 11, 2024
1 parent 7ea2e60 commit 72fa6aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ArduCopter/mode_circle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ bool ModeCircle::init(bool ignore_checks)
if (copter.circle_nav->roi_at_center()) {
const Vector3p &pos { copter.circle_nav->get_center() };
Location circle_center;
if (!AP::ahrs().get_location_from_origin_offset(circle_center, pos * 0.01)) {
if (!AP::ahrs().get_location_from_origin_offset_NED(circle_center, pos * 0.01)) {
return false;
}
// point at the ground:
Expand Down

0 comments on commit 72fa6aa

Please sign in to comment.