Skip to content

Commit

Permalink
- turn at full rate when not moving.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehunck committed Aug 23, 2024
1 parent 6e9d1f2 commit b730e10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ static void update_motor_driver_from_control_input( struct bt_hid_state* state )
{
// rotate in place
// This handles both rotate left and right as left will be negative and right positive
left_output = swerve_right_rate / 2;
right_output = -1*swerve_right_rate / 2;
left_output = swerve_right_rate;
right_output = -1*swerve_right_rate;
}
// otherwise no rotation
}
Expand Down

0 comments on commit b730e10

Please sign in to comment.