PxVehicleDriveTankControlModel Struct Reference
[Vehicle]

Two driving models are supported. More...

#include <PxVehicleDriveTank.h>

List of all members.

Public Types

enum  Enum {
  eSTANDARD = 0,
  eSPECIAL
}


Detailed Description

Two driving models are supported.

Note:
If eSTANDARD is chosen the left and right wheels are always driven in the same direction. If the tank is in a forward gear the left and right wheels will all be driven forwards, while in reverse gear the left and right wheels will all be driven backwards. With eSTANDARD the legal range of left and right thrust is (0,1).

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).

See also:
PxVehicleDriveTank::setDriveModel

Member Enumeration Documentation

Enumerator:
eSTANDARD 
eSPECIAL 


The documentation for this struct was generated from the following file:


Copyright © 2008-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com