Skip to content

Commit

Permalink
Limit drivetrain acceleration in open loop mode
Browse files Browse the repository at this point in the history
  • Loading branch information
auscompgeek committed Feb 29, 2020
1 parent 0762ed8 commit a688959
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/chassis.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def setup(self) -> None:
self.right_rear,
):
motor.setIdleMode(rev.IdleMode.kCoast)
motor.setOpenLoopRampRate(0.1)

self.left_rear.follow(self.left_front)
self.right_rear.follow(self.right_front)
Expand Down

0 comments on commit a688959

Please sign in to comment.