Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Code Style On rewrite-linekicker #2165

Merged
merged 1 commit into from
Jan 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion soccer/src/soccer/strategy/agent/position/offense.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ std::optional<RobotIntent> Offense::state_to_task(RobotIntent intent) {
return intent;
} else if (current_state_ == SHOOTING) {
rj_geometry::Point their_goal_pos = field_dimensions_.their_goal_loc();
rj_geometry::Point scoring_point = their_goal_pos + field_dimensions_.goal_width() * 3.0 / 8.0;
rj_geometry::Point scoring_point =
their_goal_pos + field_dimensions_.goal_width() * 3.0 / 8.0;
planning::LinearMotionInstant target{scoring_point};
auto line_kick_cmd = planning::MotionCommand{"line_kick", target};
intent.motion_command = line_kick_cmd;
Expand Down