Skip to content

Commit c05fb3f

Browse files
committed
Sub: circle mode detects changes in CIRCLE_RADIUS_M
1 parent 23811ac commit c05fb3f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ArduSub/mode_circle.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ void ModeCircle::run()
3838
position_control->NE_set_max_speed_accel_cm(sub.wp_nav.get_default_speed_NE_cms(), sub.wp_nav.get_wp_acceleration_cmss());
3939
position_control->D_set_max_speed_accel_cm(sub.get_pilot_speed_dn(), g.pilot_speed_up, g.pilot_accel_z);
4040

41+
// check for any change in params and update in real time
42+
sub.circle_nav.check_param_change();
43+
4144
// if not armed set throttle to zero and exit immediately
4245
if (!motors.armed()) {
4346
// To-Do: add some initialisation of position controllers

0 commit comments

Comments
 (0)