Skip to content

Commit

Permalink
Fix Code Style On rewrite-linekicker (#2165)
Browse files Browse the repository at this point in the history
automated style fixes

Co-authored-by: petergarud <[email protected]>
  • Loading branch information
2 people authored and sid-parikh committed Jan 27, 2024
1 parent 4cc25bd commit b038f21
Showing 1 changed file with 2 additions and 1 deletion.
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 @@ -129,7 +129,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

0 comments on commit b038f21

Please sign in to comment.