#include <PxVehicleDriveTank.h>
Public Types | |
enum | Enum { eSTANDARD = 0, eSPECIAL } |
If eSPECIAL is chosen it is possible to drive the left and right wheels in different directions. With eSPECIAL the legal range of left and right thrust is (-1,1). In forward(reverse) gear negative thrust values drive the wheels backwards(forwards), while positive thrust values drives the wheels forwards(backwards).
A sharp left turn can be achieved in eSTANDARD mode by braking with the left wheels and thrusting forward with the right wheels. A smaller turning circle can theoretically be achieved in eSPECIAL mode by applying negative thrust to the left wheels and positive thrust to the right wheels.
In both modes the legal ranges of acceleration and left/right brake are all (0,1).