Skip to content

Commit

Permalink
rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
phillip kammradt committed Jul 15, 2024
1 parent dbf369a commit 38b5ea0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions crates/control/src/behavior/dribble.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ use types::{
filtered_game_controller_state::FilteredGameControllerState,
filtered_game_state::FilteredGameState,
last_filtered_game_controller_state_change::LastFilteredGameControllerStateChanges,
motion_command::{ArmMotion, HeadMotion, MotionCommand, OrientationMode},
parameters::{DribblingParameters, InWalkKickInfoParameters, InWalkKicksParameters},
planned_path::PathSegment,
world_state::WorldState,
Expand All @@ -25,7 +24,6 @@ pub fn execute(
parameters: &DribblingParameters,
dribble_path: Option<Vec<PathSegment>>,
walk_speed: WalkSpeed,
game_phase: &GamePhase,
game_controller_state: Option<FilteredGameControllerState>,
game_controller_state_change: Option<LastFilteredGameControllerStateChanges>,
precision_kick_timeout: u8,
Expand Down
7 changes: 0 additions & 7 deletions crates/control/src/behavior/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@ pub struct CycleContext {
support_walk_speed: Parameter<WalkSpeed, "walk_speed.support">,
walk_to_kickoff_walk_speed: Parameter<WalkSpeed, "walk_speed.walk_to_kickoff">,
walk_to_penalty_kick_walk_speed: Parameter<WalkSpeed, "walk_speed.walk_to_penalty_kick">,
striker_set_position: Parameter<Point2<Field>, "behavior.role_positions.striker_set_position">,
precision_kick_timeout: Parameter<u8,"precision_kick_timeout">,
precision_kick_timeout: Parameter<u8, "precision_kick_timeout">,
}

#[context]
Expand Down Expand Up @@ -322,11 +320,6 @@ impl Behavior {
&context.parameters.dribbling,
dribble_path.clone(),
*context.dribble_walk_speed,
world_state
.filtered_game_controller_state
.as_ref()
.map(|state| &state.game_phase)
.unwrap_or(&GamePhase::default()),
world_state.filtered_game_controller_state,
world_state.last_filtered_game_controller_state_change,
*context.precision_kick_timeout,
Expand Down

0 comments on commit 38b5ea0

Please sign in to comment.