frc1675 / frc1675-2023

Team 1675 robot code for the 2023 FRC competition Charge Up
MIT License
2 stars 2 forks source link

NodeShifting commands #98

Closed jagernet-ops closed 1 year ago

jagernet-ops commented 1 year ago

I created a couple commands in the vision folder which will fetch the robot's current position if it has a target and modify it to be offset positive or negative a distance value in the constants file. NODE_SHIFT_DISTANCE_METERS = 1.38. This should be inside of a command group which saves the returned Pose2d and sends it to the DriveTrain subsystem. That then calls the setTranslationTarget method and moves the robot accordingly. I hope this makes sense...

jagernet-ops commented 1 year ago

Should be good to test for now, next Thursday or any time this weekend I should have the next iteration of the node shifter ready.