We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84e78f5 commit 77fa5d7Copy full SHA for 77fa5d7
ArduCopter/mode_circle.cpp
@@ -28,7 +28,7 @@ bool ModeCircle::init(bool ignore_checks)
28
if (copter.circle_nav->roi_at_center()) {
29
const Vector3p &pos { copter.circle_nav->get_center() };
30
Location circle_center;
31
- 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)) {
32
return false;
33
}
34
// point at the ground:
0 commit comments