Struct VehicleSensorState
The data obtained by the vehicle sensors.
Namespace: Holoride.ElasticSDK
Assembly: Holoride.ElasticSDK.Library.Runtime.dll
Syntax
[Serializable]
public struct VehicleSensorState
Fields
GeoCoordinate
Latitude in degrees.
Declaration
public GeoCoordinate GeoCoordinate
Field Value
Type | Description |
---|---|
GeoCoordinate |
LateralAcceleration_ms2
Lateral acceleration in the vehicle.
Declaration
public float LateralAcceleration_ms2
Field Value
Type | Description |
---|---|
float |
LocalizationStatus
The current LocalizationStatus.
Declaration
public VehicleLocalizationStatus LocalizationStatus
Field Value
Type | Description |
---|---|
VehicleLocalizationStatus |
LongitudinalAcceleration_ms2
Longitudinal acceleration in the vehicle.
Declaration
public float LongitudinalAcceleration_ms2
Field Value
Type | Description |
---|---|
float |
VehicleHeading_Deg
Heading amount provided by the GPS in degrees.
Declaration
public double VehicleHeading_Deg
Field Value
Type | Description |
---|---|
double |
VehiclePitch_Deg
Vehicle pitch amount in degrees.
Declaration
public float VehiclePitch_Deg
Field Value
Type | Description |
---|---|
float |
VehicleRoll_Deg
Vehicle roll amount in degrees.
Declaration
public float VehicleRoll_Deg
Field Value
Type | Description |
---|---|
float |
VehicleSpeed_Kmh
Vehicle speed.
Declaration
public float VehicleSpeed_Kmh
Field Value
Type | Description |
---|---|
float |
YawRate_DegPerSec
Vehicle yaw rate in degrees.
Declaration
public double YawRate_DegPerSec
Field Value
Type | Description |
---|---|
double |
Properties
IsGeoCoordinateSet
Gets a value indicating whether the GeoCoordinate has been set.
Declaration
public bool IsGeoCoordinateSet { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
Equals(VehicleSensorState)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(VehicleSensorState other)
Parameters
Type | Name | Description |
---|---|---|
VehicleSensorState | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
bool |
|
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool |
|
Overrides
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current object. |
Overrides
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents the current object. |