IanSzalai / SuperSwerve

Swerve template project which uses the SuperCORE library
Other
0 stars 1 forks source link

more new and improved drive commands #23

Closed IanSzalai closed 1 year ago

IanSzalai commented 1 year ago

extends off of remove-enum, which extends from calculatePoseFromVision

this is only in DriveAbsRotation right now

if the right stick is 0 on x and y, the rotation is set to the pov int

this isn't ideal for a number of reasons but it's fine to test with a build off of.

doesn't yet close #12 closes #24 (edited later to include this)

IanSzalai commented 1 year ago

4 drive commands: Simple: left stick for translation and right stick for rotation FlickStick: left stick for translation and right stick is flick stick for absolute field relative rotation Trigger: left stick for translational direction, trigger for translational velocity, right stick for rotation Buttons: simple but abxy for absolute field relative rotation