java.lang.Object | |
↳ | com.commsignia.v2x.client.model.AccelerationControl |
Stores status of components related to Acceleration Control (brake, gas pedal, etc.).
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AccelerationControl() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | equals(Object o) | ||||||||||
int | hashCode() | ||||||||||
boolean |
isAccEngaged()
Returns the acceleration status of the vehicle.
| ||||||||||
boolean |
isBrakePedalEngaged()
Returns the status of the brakes in the vehicle.
| ||||||||||
boolean |
isCollisionWarningEngaged()
Returns the collision warning status.
| ||||||||||
boolean |
isCruiseControlEngaged()
Returns the cruise control status.
| ||||||||||
boolean |
isEmergencyBrakeEngaged()
Returns whether emergency braking is taking place.
| ||||||||||
boolean |
isGasPedalEngaged()
Returns the status of the gas pedal in the vehicle.
| ||||||||||
boolean |
isSpeedLimiterEngaged()
Returns the status of the speed limiter in the vehicle.
| ||||||||||
AccelerationControl |
setAccEngaged(boolean accEngaged)
Set the acceleration status of the vehicle.
| ||||||||||
AccelerationControl |
setBrakePedalEngaged(boolean brakePedalEngaged)
Set the brake pedal status flag.
| ||||||||||
AccelerationControl |
setCollisionWarningEngaged(boolean collisionWarningEngaged)
Set the collision warning status.
| ||||||||||
AccelerationControl |
setCruiseControlEngaged(boolean cruiseControlEngaged)
Set the cruise control status.
| ||||||||||
AccelerationControl |
setEmergencyBrakeEngaged(boolean emergencyBrakeEngaged)
Set the emergencyBrakeEngaged flag.
| ||||||||||
AccelerationControl |
setGasPedalEngaged(boolean gasPedalEngaged)
Set the gas pedal status flag.
| ||||||||||
AccelerationControl |
setSpeedLimiterEngaged(boolean speedLimiterEngaged)
Set the speed limiter status in the vehicle.
| ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Returns the acceleration status of the vehicle.
Returns the status of the brakes in the vehicle.
Returns the collision warning status.
Returns the cruise control status.
Returns whether emergency braking is taking place.
Returns the status of the gas pedal in the vehicle.
Returns the status of the speed limiter in the vehicle.
Set the acceleration status of the vehicle.
accEngaged | acceleration status |
---|
Set the brake pedal status flag.
brakePedalEngaged | status of the brake pedal. |
---|
Set the collision warning status.
collisionWarningEngaged | collision warning status |
---|
Set the cruise control status.
cruiseControlEngaged | cruise control status |
---|
Set the emergencyBrakeEngaged flag.
emergencyBrakeEngaged | emergency braking status |
---|
Set the gas pedal status flag.
gasPedalEngaged | status of the gas pedal. |
---|
Set the speed limiter status in the vehicle.
speedLimiterEngaged | speed limiter status |
---|