entech281 / Season_2018

0 stars 1 forks source link

Add twist (with trigger pushed) to turn in the arcade drive #38

Closed mandrews281 closed 6 years ago

mandrews281 commented 6 years ago

This logic was basically copied from the Yertle code a couple years ago. When trigger is pressed, we use the twist axis to define the robot turn rather than the X axis.

dcowden commented 6 years ago

Looks great! I'm working on a "Linear Axis" class tonight that hopefully will combine an Encoder, Talon, and two limits to provide trapezoidal motion up and down. that should be re-usable lots of times.

I looked around for a half hour thinking surely someone already wrote that, but i cant find anything