There was an error while loading. Please reload this page.
1 parent 1634932 commit 583dabeCopy full SHA for 583dabe
1 file changed
crates/bevyhavior_simulator/src/bin/standing_searcher.rs
@@ -65,6 +65,24 @@ fn update(
65
println!("Standing searcher after penalty");
66
exit.send(AppExit::from_code(1));
67
}
68
+ if let MotionCommand::Walk {
69
+ head: _,
70
+ path: _,
71
+ left_arm: _,
72
+ right_arm: _,
73
+ orientation_mode: _,
74
+ speed: _,
75
+ } = robots
76
+ .iter_mut()
77
+ .find(|robot| robot.parameters.player_number == PlayerNumber::Three)
78
+ .unwrap()
79
+ .database
80
+ .main_outputs
81
+ .motion_command
82
+ {
83
+ println!("Moving searcher after ball loss");
84
+ exit.send(AppExit::from_code(1));
85
+ }
86
87
88
if time.ticks() == 5500 {
0 commit comments