Team-OKC-Robotics / FRC-2022-CPP

a c++ port of our FRC-2022 code as training in C++
Other
0 stars 2 forks source link

Design a command hierarchy for drivetrain commands #24

Open jkleiber opened 1 year ago

jkleiber commented 1 year ago

Summary We currently have an assortment of drivetrain commands with some duplicate functionality. This is mostly due to the rush of build season distracting from good engineering design process. Thus, it would be good for us to figure out a design in pre-season and go through the design exercise now, so we can be in the practice for during build season.

Work to do

Verification

FYI: @danielbrownmsm assigned to you for awareness

danielbrownmsm commented 1 year ago

So at a minimum I think we need a Tele-Op drive command and an autonomous drive command. Last year we had:

which, especially seeing as I think we’re going to use WPILib’s swerve drive support for pathing and stuff, can probably be reduced to:

danielbrownmsm commented 1 year ago

Also tele-op should have overload for field oriented drive or robot oriented drive