|
Programming Arcade Drive
I wanted to ask the Chief Delphi community here how to implement arcade style driving using code efficiently and naturally. To clarify what I mean, I wanted to know how to program arcade style controls by individually controlling the left and right motors that are connected to the wheels (one motor controls two wheels) using an efficient coding scheme.
I know the WindRiver FRC class comes with its own Arcade Drive scheme but, for educational purpose, I tried dissecting some of the code there and couldn't find out how it works. I was hoping the CD community can help me understand just how the Arcade Drive works (I'm wondering if it's some kind of mathematical equation based on X and Y inputs of the joystick).
Thanks a lot for your help guys. I appreciate it.
- Daniel
|