Skip to content

Commit

Permalink
Sailboat : In Irons : remove explicit floating point literals and for…
Browse files Browse the repository at this point in the history
…mat sailboat with astyle
  • Loading branch information
kwikius committed Mar 2, 2024
1 parent f9dba2b commit a53505f
Show file tree
Hide file tree
Showing 3 changed files with 106 additions and 98 deletions.
2 changes: 1 addition & 1 deletion Rover/mode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ void Mode::navigate_to_waypoint()
// update in irons state
g2.sailboat.update_in_irons();

if (g2.sailboat.in_irons()){
if (g2.sailboat.in_irons()) {
// set sailboat in irons rudder output to turn the boat in required direction
g2.motors.set_steering(g2.sailboat.get_in_irons_rudder() * 4500.0f,false);
return;
Expand Down
Loading

0 comments on commit a53505f

Please sign in to comment.