There was an error while loading. Please reload this page.
1 parent 02c6125 commit de3527dCopy full SHA for de3527d
1 file changed
crates/control/src/behavior/search.rs
@@ -113,6 +113,7 @@ pub fn execute(
113
.duration_since(last_time_role_changed)
114
.expect("time went backwards")
115
< Duration::from_secs_f32(estimated_ball_arrival_time)
116
+ && ground_to_field.as_pose().position().y().abs() < field_dimensions.penalty_area_width / 2.0
117
{
118
return Some(MotionCommand::Stand { head });
119
};
0 commit comments