JHS-Viking-Robotics / FRC-2022

Code for the 2022 FRC season, now written in Java
Other
2 stars 2 forks source link

Drivetrain control mode toggle on Dashboard #3

Closed derickson2402 closed 2 years ago

derickson2402 commented 3 years ago

Modified issue


We would like a toggle on the driver station to switch between multiple different control modes:

Several of these modes make driving much easier and/or accurate, but depending on the driver we will need different control modes. A toggle will enable any driver to pick any control mode, as well as allow multiple control modes during testing.

derickson2402 commented 3 years ago

Check out this link for controlling speed

https://docs.wpilib.org/en/latest/docs/software/advanced-controls/filters/slew-rate-limiter.html#slew-rate-limiter

derickson2402 commented 3 years ago

Modifying this issue and description

We would like a toggle on the driver station to switch between multiple different control modes:

Several of these modes make driving much easier and/or accurate, but depending on the driver we will need different control modes. A toggle will enable any driver to pick any control mode, as well as allow multiple control modes during testing.

derickson2402 commented 3 years ago

Copied from original issue


Port the experimental velocity drivetrain controls from JHS-Viking-Robotics/FRC-2021@50bb759, and add a button toggle to switch back to standard percent output mode.

derickson2402 commented 3 years ago

Marking as duplicate of #6

derickson2402 commented 3 years ago

Re-opening issue and closing #6, indicators work but toggles are not working yet

derickson2402 commented 2 years ago

Closing this issue because we don't have the resources or interest to tackle this right now. We want to experiment with multiple driving modes in the future, but that will be on a different bot. See #14 for more