4253B X Drive Code
-
Updated
Jul 17, 2022 - C++
4253B X Drive Code
VEX V5 Code for 20-21 Season
Holonomic-native autonomous stack for VEX U robots. X-drive, H-drive and tank behind one contract; fused odometry, decoupled per-axis motion control, and diagnostics built for debugging a 60-second run. C++20, PROS-free core, tested off-robot.
This is a formula that we've developed to run an X-Drive (optionally field-centric) in c++, that can be translated into Java. Unlike the common X-Drive program that simply combines the control axes, this does not result in attempting to give a motor controller a speed out of its range (e.g. setting a -1 to 1 motor controller to a speed of 1.5).
To associate your repository with the x-drive topic, visit your repo's landing page and select "manage topics."