diff --git a/Rover/Rover.cpp b/Rover/Rover.cpp index 4b6497382b..82b7f46e37 100644 --- a/Rover/Rover.cpp +++ b/Rover/Rover.cpp @@ -468,6 +468,7 @@ void Rover::one_second_loop(void) // send latest param values to wp_nav g2.wp_nav.set_turn_params(g2.turn_radius, g2.motors.have_skid_steering()); g2.pos_control.set_turn_params(g2.turn_radius, g2.motors.have_skid_steering()); + g2.wheel_rate_control.set_notch_sample_rate(AP::scheduler().get_filtered_loop_rate_hz()); } void Rover::update_current_mode(void)