Team-OKC-Robotics / FRC-2023

The FRC team #2718 Team OKC Robotics code for the 2023 season
Other
2 stars 0 forks source link

Make the arm not oscillate around 0 #66

Closed danielbrownmsm closed 1 year ago

danielbrownmsm commented 1 year ago

Summary Whenever the arm is trying to PID to 0, the tension on the chain will swap from one side to the other of the sprocket as the arm swings around, which starts it oscillating as the arm is basically a pendulum. If we could simply not apply power to the arm if the setpoint is 0 and the error is small (probably only 5-10 degrees) then we can save a lot of wear and tear on the robot and make driving easier.

Work Required

Verification

jkleiber commented 1 year ago

@danielbrownmsm did this get resolved by the scoring integration branch?

danielbrownmsm commented 1 year ago

yes