Browse Source

返航在home点上方时新建文件夹

mission-4.1.18
binsir 4 years ago
parent
commit
dd0dbea871
  1. 6
      ArduCopter/mode_rtl.cpp

6
ArduCopter/mode_rtl.cpp

@ -234,6 +234,12 @@ void ModeRTL::loiterathome_start() @@ -234,6 +234,12 @@ void ModeRTL::loiterathome_start()
} else {
auto_yaw.set_mode(AUTO_YAW_HOLD);
}
AP_Camera *camera = AP::camera();
if (camera != nullptr)
{
camera->create_new_folder();
}
}
// rtl_climb_return_descent_run - implements the initial climb, return home and descent portions of RTL which all rely on the wp controller

Loading…
Cancel
Save