Skip to content

Commit 4705071

Browse files
committed
Copter: call avoidance param conversion
1 parent ab1e6a8 commit 4705071

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ArduCopter/Parameters.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,6 +1308,11 @@ void Copter::load_parameters(void)
13081308
// convert LAND parameters
13091309
copter.mode_land.convert_params();
13101310

1311+
#if AP_AVOIDANCE_ENABLED
1312+
// convert AC_Avoid parameters
1313+
copter.avoid.convert_params();
1314+
#endif
1315+
13111316
// setup AP_Param frame type flags
13121317
AP_Param::set_frame_type_flags(AP_PARAM_FRAME_COPTER);
13131318
}

0 commit comments

Comments
 (0)