|
Re: Programming Andy Mark Killough Omni Directional Drive/ C++?
I can't tell you anything C++ specific, but I can tell you fairly generic things I learned in LabVIEW.
There *might* be a Holonomic Drive or Mecanum Drive class. If so, that is what you want. I know it exists in LabVIEW, but I do not know about C++.
If there is not, you can write a function or class to utilize four motor controllers in a holonomic arrangement and a vector from the joystick.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor
"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
|