#include <VehicleInputControlBus.h>
Inherits AZ::EBusTraits.
Public Types | |
using | BusIdType = AZ::EntityId |
Public Member Functions | |
virtual void | SetTargetLinearSpeedV3 (const AZ::Vector3 &speedMps)=0 |
virtual void | SetTargetLinearSpeed (float speedMpsX)=0 |
virtual void | SetTargetSteering (float steering)=0 |
virtual void | SetTargetAngularSpeedV3 (const AZ::Vector3 &rate)=0 |
virtual void | SetTargetAngularSpeed (float rateZ)=0 |
virtual void | SetTargetAccelerationFraction (float accelerationFraction)=0 |
virtual void | SetTargetSteeringFraction (float steeringFraction)=0 |
virtual void | SetTargetLinearSpeedFraction (float speedFractionX)=0 |
virtual void | SetTargetAngularSpeedFraction (float rateFractionZ)=0 |
virtual void | SetDisableVehicleDynamics (bool disable)=0 |
virtual AZStd::pair< AZ::Vector3, AZ::Vector3 > | GetWheelsOdometry ()=0 |
Static Public Attributes | |
static constexpr AZ::EBusAddressPolicy | AddressPolicy = AZ::EBusAddressPolicy::ById |
Inputs (speed, steering, acceleration etc.) for vehicle dynamics system Inputs are valid for a short time (configurable) and need to be repeated if continuous movement is needed. (Use cruise system to set cruise speed).
|
pure virtual |
Returns vehicle's velocity in its local coordinate system
|
pure virtual |
Disables (or enables) the vehicle dynamics
disable | if set true no torque will be applied |
|
pure virtual |
Accelerate without target speed, relative to the limits.
accelerationFraction | is relative to limits of possible acceleration. 1 - accelerate as much as possible, -1 - brake as much as possible. |
|
pure virtual |
Set target for the angular speed. It should be realized over time according to drive model.
rateZ | is an angular speed in radians per second in up direction . |
|
pure virtual |
Set target for the angular speed. It should be realized over time according to drive model.
rateFractionZ | is an angular speed in radians per second in up direction, fraction of maximum speed. |
|
pure virtual |
Set target for the angular speed. It should be realized over time according to drive model.
rate | is an angular speed vector, unit is radians per second. |
|
pure virtual |
Set target for the vehicle linear speed. It should be realized over time according to drive model.
speedMpsX | is a linear speed in meters per second with the plus sign in the forward direction. |
|
pure virtual |
Speed input version which is relative to limits.
speedFractionX | is -1 to 1, which applies as a fraction of vehicle model speed limits. |
|
pure virtual |
Set target for the vehicle linear speed. It should be realized over time according to drive model.
speedMps | is a linear speed vectors, unit is meters per second. |
|
pure virtual |
Steer in a direction given in relative coordinate system (current direction is 0).
steering | is angle in radians, positive to the right and negative to the left. |
|
pure virtual |
Steer input version which is relative to limits.
steeringFraction | is -1 to 1, which applies as a fraction of vehicle model steering limits. |