DevilBotz2876 / ChargedUp2023

Code for the FRC 2023 Robotics Competition
Other
3 stars 0 forks source link

Joystick fix #118

Closed rohit18-cool closed 1 year ago

loafdog commented 1 year ago

I forgot to mention few things:

BrownGenius commented 1 year ago

In #120, I fixed some logic in the ArmMoveDistance. In simulation, I noticed that the arm didn't move sometimes when "ArmToDistance" was clicked. If the arm was at the top/bottom limit switch, the command exited immediately. I fixed it by checking bottomLimit only if moving down, and the topLimit only if moving up.

BrownGenius commented 1 year ago
  • Adi said he did not need PickupFromGround command bound to any button.

I'm surprised he doesn't want this. It will grip, move back (to free the arm if stuck) and moves the arm to a safe driving height. I'll talk with him Friday more about this.