PxVehicleDriveNWRawInputData Class Reference

Used to produce smooth vehicle driving control values from analog and digital inputs. More...

#include <PxVehicleUtilControl.h>

Inheritance diagram for PxVehicleDriveNWRawInputData:
Collaboration diagram for PxVehicleDriveNWRawInputData:

Public Member Functions

 PxVehicleDriveNWRawInputData ()
 
 ~PxVehicleDriveNWRawInputData ()
 
- Public Member Functions inherited from PxVehicleDrive4WRawInputData
 PxVehicleDrive4WRawInputData ()
 
virtual ~PxVehicleDrive4WRawInputData ()
 
void setDigitalAccel (const bool accelKeyPressed)
 Record if the accel button has been pressed on keyboard. More...
 
void setDigitalBrake (const bool brakeKeyPressed)
 Record if the brake button has been pressed on keyboard. More...
 
void setDigitalHandbrake (const bool handbrakeKeyPressed)
 Record if the handbrake button has been pressed on keyboard. More...
 
void setDigitalSteerLeft (const bool steerLeftKeyPressed)
 Record if the left steer button has been pressed on keyboard. More...
 
void setDigitalSteerRight (const bool steerRightKeyPressed)
 Record if the right steer button has been pressed on keyboard. More...
 
bool getDigitalAccel () const
 Return if the accel button has been pressed on keyboard. More...
 
bool getDigitalBrake () const
 Return if the brake button has been pressed on keyboard. More...
 
bool getDigitalHandbrake () const
 Return if the handbrake button has been pressed on keyboard. More...
 
bool getDigitalSteerLeft () const
 Return if the left steer button has been pressed on keyboard. More...
 
bool getDigitalSteerRight () const
 Return if the right steer button has been pressed on keyboard. More...
 
void setAnalogAccel (const PxReal accel)
 Set the analog accel value from the gamepad. More...
 
void setAnalogBrake (const PxReal brake)
 Set the analog brake value from the gamepad. More...
 
void setAnalogHandbrake (const PxReal handbrake)
 Set the analog handbrake value from the gamepad. More...
 
void setAnalogSteer (const PxReal steer)
 Set the analog steer value from the gamepad. More...
 
PxReal getAnalogAccel () const
 Return the analog accel value from the gamepad. More...
 
PxReal getAnalogBrake () const
 Return the analog brake value from the gamepad. More...
 
PxReal getAnalogHandbrake () const
 Return the analog handbrake value from the gamepad. More...
 
PxReal getAnalogSteer () const
 Return the analog steer value from the gamepad. More...
 
void setGearUp (const bool gearUpKeyPressed)
 Record if the gearup button has been pressed on keyboard or gamepad. More...
 
void setGearDown (const bool gearDownKeyPressed)
 Record if the geardown button has been pressed on keyboard or gamepad. More...
 
bool getGearUp () const
 Return if the gearup button has been pressed on keyboard or gamepad. More...
 
bool getGearDown () const
 Record if the geardown button has been pressed on keyboard or gamepad. More...
 

Detailed Description

Used to produce smooth vehicle driving control values from analog and digital inputs.

See also
PxVehicleDriveNWSmoothDigitalRawInputsAndSetAnalogInputs, PxVehicleDriveNWSmoothAnalogRawInputsAndSetAnalogInputs

Constructor & Destructor Documentation

◆ PxVehicleDriveNWRawInputData()

PxVehicleDriveNWRawInputData::PxVehicleDriveNWRawInputData ( )
inline

◆ ~PxVehicleDriveNWRawInputData()

PxVehicleDriveNWRawInputData::~PxVehicleDriveNWRawInputData ( )
inline

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