Skip to content

Commit

Permalink
Fixing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rishiso committed Jan 20, 2025
1 parent 3cee3a0 commit 4c20ab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion soccer/src/soccer/strategy/agent/position/solo_offense.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ std::optional<RobotIntent> SoloOffense::state_to_task(RobotIntent intent) {
planning::LinearMotionInstant target{calculate_best_shot()};
// planning::LinearMotionInstant target{last_world_state_->ball.position};
auto kick_cmd =
planning::MotionCommand{"path_target", target, planning::FaceTarget{}, true};
planning::MotionCommand{"line_kick", target, planning::FaceTarget{}, true};
intent.motion_command = kick_cmd;
intent.shoot_mode = RobotIntent::ShootMode::KICK;
intent.trigger_mode = RobotIntent::TriggerMode::ON_BREAK_BEAM;
Expand Down

0 comments on commit 4c20ab3

Please sign in to comment.