跳转至

Struct SimOne_Data_Gps

ClassList > SimOne_Data_Gps

  • #include <SimOneIOStruct.h>

Inherits the following classes: SimOne_Data

Public Attributes

Type Name
float accelX
float accelY
float accelZ
float angVelX
float angVelY
float angVelZ
float brake
float engineRpm
int extraStateSize
float extraStates
int gear
SimOne_Data_IMU imuData
bool isGPSLost
char mainCarName
float odometer
float oriX
float oriY
float oriZ
float posX
float posY
float posZ
float steering
float throttle
float velX
float velY
float velZ
float wheelSpeedFL
float wheelSpeedFR
float wheelSpeedRL
float wheelSpeedRR

Public Attributes inherited from SimOne_Data

See SimOne_Data

Type Name
int frame = 0
long long timestamp = 0
int version = 0

Public Attributes Documentation

variable accelX

float SimOne_Data_Gps::accelX;

主车 X 方向加速度 (米/秒^2) * Main vehicle acceleration in the X direction on Opendrive (meters/second^2)


variable accelY

float SimOne_Data_Gps::accelY;

主车 Y 方向加速度 (米/秒^2) * Main vehicle acceleration in the Y direction on Opendrive (meters/second^2)


variable accelZ

float SimOne_Data_Gps::accelZ;

主车 Z 方向加速度 (米/秒^2) * Main vehicle acceleration in the Z direction on Opendrive (meters/second^2)


variable angVelX

float SimOne_Data_Gps::angVelX;

主车 X 方向角速度 (弧度/秒) * Main vehicle angular velocity in the X direction on Opendrive (radians/second)


variable angVelY

float SimOne_Data_Gps::angVelY;

主车 Y 方向角速度 (弧度/秒) * Main vehicle angular velocity in the Y direction on Opendrive (radians/second)


variable angVelZ

float SimOne_Data_Gps::angVelZ;

主车 Z 方向角速度 (弧度/秒) * Main vehicle angular velocity in the Z direction on Opendrive (radians/second)


variable brake

float SimOne_Data_Gps::brake;

主车刹车值 * Main vehicle brake value


variable engineRpm

float SimOne_Data_Gps::engineRpm;

发动机转速 (转/分钟) * Engine RPM (revolutions per minute)


variable extraStateSize

int SimOne_Data_Gps::extraStateSize;

附加状态的数量 * Number of additional states


variable extraStates

float SimOne_Data_Gps::extraStates[256];

附加状态数据,索引由 MainVehicleExtraDataIndics 消息定义 * Array of additional vehicle states indexed by MainVehicleExtraDataIndics message


variable gear

int SimOne_Data_Gps::gear;

主车齿轮位置 * Main vehicle gear position


variable imuData

SimOne_Data_IMU SimOne_Data_Gps::imuData;

IMU 数据 * IMU data


variable isGPSLost

bool SimOne_Data_Gps::isGPSLost;

是否丢失 GPS 信号。GPS 信号丢失可能会影响 IMU 数据的有效性。 * Whether the GPS signal is lost. Loss of GPS signal may affect the validity of the IMU data.


variable mainCarName

char SimOne_Data_Gps::mainCarName[256];

主车名称 (编码:utf-8) * Main vehicle name (encoded in utf-8)


variable odometer

float SimOne_Data_Gps::odometer;

里程表读数 (米) * Odometer reading (meters)


variable oriX

float SimOne_Data_Gps::oriX;

Opendrive 系统下的 X 方向旋转 (弧度) * Rotation in the X direction on Opendrive (radians)


variable oriY

float SimOne_Data_Gps::oriY;

Opendrive 系统下的 Y 方向旋转 (弧度) * Rotation in the Y direction on Opendrive (radians)


variable oriZ

float SimOne_Data_Gps::oriZ;

Opendrive 系统下的 Z 方向旋转 (弧度) * Rotation in the Z direction on Opendrive (radians)


variable posX

float SimOne_Data_Gps::posX;

Opendrive 系统下的 X 方向位置 (米) * Position in the X direction on Opendrive (meters)


variable posY

float SimOne_Data_Gps::posY;

Opendrive 系统下的 Y 方向位置 (米) * Position in the Y direction on Opendrive (meters)


variable posZ

float SimOne_Data_Gps::posZ;

Opendrive 系统下的 Z 方向位置 (米) * Position in the Z direction on Opendrive (meters)


variable steering

float SimOne_Data_Gps::steering;

主车轮胎转向角 (度) * Main vehicle wheel steering angle (degrees)


variable throttle

float SimOne_Data_Gps::throttle;

主车油门值 * Main vehicle throttle value


variable velX

float SimOne_Data_Gps::velX;

主车 X 方向速度 (米/秒) * Main vehicle velocity in the X direction on Opendrive (meters/second)


variable velY

float SimOne_Data_Gps::velY;

主车 Y 方向速度 (米/秒) * Main vehicle velocity in the Y direction on Opendrive (meters/second)


variable velZ

float SimOne_Data_Gps::velZ;

主车 Z 方向速度 (米/秒) * Main vehicle velocity in the Z direction on Opendrive (meters/second)


variable wheelSpeedFL

float SimOne_Data_Gps::wheelSpeedFL;

前左轮速度 (米/秒) * Speed of the front left wheel (meters/second)


variable wheelSpeedFR

float SimOne_Data_Gps::wheelSpeedFR;

前右轮速度 (米/秒) * Speed of the front right wheel (meters/second)


variable wheelSpeedRL

float SimOne_Data_Gps::wheelSpeedRL;

后左轮速度 (米/秒) * Speed of the rear left wheel (meters/second)


variable wheelSpeedRR

float SimOne_Data_Gps::wheelSpeedRR;

后右轮速度 (米/秒) * Speed of the rear right wheel (meters/second)



The documentation for this class was generated from the following file docs/api/cpp/SimOneIOStruct.h