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).
-
Updated
Jun 15, 2019 - C++