public class

AccelerationControl

extends Object
java.lang.Object
   ↳ com.commsignia.v2x.client.model.AccelerationControl

Class Overview

Stores status of components related to Acceleration Control (brake, gas pedal, etc.).

Summary

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
From class java.lang.Object

Public Constructors

public AccelerationControl ()

Public Methods

public boolean equals (Object o)

public int hashCode ()

public boolean isAccEngaged ()

Returns the acceleration status of the vehicle.

Returns
  • the acceleration status

public boolean isBrakePedalEngaged ()

Returns the status of the brakes in the vehicle.

Returns
  • the current status of the brake pedal.

public boolean isCollisionWarningEngaged ()

Returns the collision warning status.

Returns
  • the collision warning status

public boolean isCruiseControlEngaged ()

Returns the cruise control status.

Returns
  • the status of cruise control

public boolean isEmergencyBrakeEngaged ()

Returns whether emergency braking is taking place.

Returns
  • the emergency braking status

public boolean isGasPedalEngaged ()

Returns the status of the gas pedal in the vehicle.

Returns
  • the current status of the gas pedal.

public boolean isSpeedLimiterEngaged ()

Returns the status of the speed limiter in the vehicle.

Returns
  • the status of the speed limiter

public AccelerationControl setAccEngaged (boolean accEngaged)

Set the acceleration status of the vehicle.

Parameters
accEngaged acceleration status
Returns
  • the same AccelerationControl object this method was invoked on

public AccelerationControl setBrakePedalEngaged (boolean brakePedalEngaged)

Set the brake pedal status flag.

Parameters
brakePedalEngaged status of the brake pedal.
Returns
  • the same AccelerationControl object this method was invoked on

public AccelerationControl setCollisionWarningEngaged (boolean collisionWarningEngaged)

Set the collision warning status.

Parameters
collisionWarningEngaged collision warning status
Returns
  • the same AccelerationControl object this method was invoked on

public AccelerationControl setCruiseControlEngaged (boolean cruiseControlEngaged)

Set the cruise control status.

Parameters
cruiseControlEngaged cruise control status
Returns
  • the same AccelerationControl object this method was invoked on

public AccelerationControl setEmergencyBrakeEngaged (boolean emergencyBrakeEngaged)

Set the emergencyBrakeEngaged flag.

Parameters
emergencyBrakeEngaged emergency braking status
Returns
  • the same AccelerationControl object this method was invoked on

public AccelerationControl setGasPedalEngaged (boolean gasPedalEngaged)

Set the gas pedal status flag.

Parameters
gasPedalEngaged status of the gas pedal.
Returns
  • the same AccelerationControl object this method was invoked on

public AccelerationControl setSpeedLimiterEngaged (boolean speedLimiterEngaged)

Set the speed limiter status in the vehicle.

Parameters
speedLimiterEngaged speed limiter status
Returns
  • the same AccelerationControl object this method was invoked on

public String toString ()