Team138Entropy / Entropy2020

Team 138 FIRST Robotics Infinite Recharge 2020
4 stars 0 forks source link

Add driver macros #48

Open maxh65000 opened 4 years ago

maxh65000 commented 4 years ago

@joecaraccio suggested about a week ago that we might be interested in adding a set of driver "macros" that allow the driver to press a button and execute a predefined set of movement controls (eg. going around a bot running defense). This sounds like an interesting idea. Any thoughts / macro ideas / volunteers?

joecaraccio commented 4 years ago

I think we definitely have the man power to pull this off and if we can do this well would be something fun to do. Max if you want maybe this would be something good to work on (we are probably a week out from having a turret to continue to integrate on)

joecaraccio commented 4 years ago

Off the top of my head... I would use the DPad for Macros.... make the direction you hit make sense...

Left Dpad - Left Robot Spin Right Dpad - Right Robot Spin Up Dpad - ??? Down DPad - ???

These 'macros' would be good to do when we are in contact with another robot. so I think we would assume our approach would be perhaps heading straight on to a robot

maxh65000 commented 4 years ago

I can't currently work on these macros until #9 is done, because I need stuff like driveForward(Units.meters(2))) to be ready. I'll look at this later.

joecaraccio commented 4 years ago

Place holders.. if you have time just work on it and keep it on a branch for a rainy day

maxh65000 commented 4 years ago

Sounds good

joecaraccio commented 4 years ago

Would rather see you put your talents to work on this than wasting time on configs/ and CI stuff.

maxh65000 commented 4 years ago

I'll make a dummy subsystem or class to mock this