Struct SimOne_Data_Gps¶
Defined in File SimOneIOStruct.h
Inheritance Relationships¶
Base Type¶
public SimOne_Data(Struct SimOne_Data)
Struct Documentation¶
-
struct SimOne_Data_Gps : public SimOne_Data¶
Public Members
-
float accelX¶
主车 X 方向加速度 (米/秒^2)
Main vehicle acceleration in the X direction on Opendrive (meters/second^2)
-
float accelY¶
主车 Y 方向加速度 (米/秒^2)
Main vehicle acceleration in the Y direction on Opendrive (meters/second^2)
-
float accelZ¶
主车 Z 方向加速度 (米/秒^2)
Main vehicle acceleration in the Z direction on Opendrive (meters/second^2)
-
float angVelX¶
主车 X 方向角速度 (弧度/秒)
Main vehicle angular velocity in the X direction on Opendrive (radians/second)
-
float angVelY¶
主车 Y 方向角速度 (弧度/秒)
Main vehicle angular velocity in the Y direction on Opendrive (radians/second)
-
float angVelZ¶
主车 Z 方向角速度 (弧度/秒)
Main vehicle angular velocity in the Z direction on Opendrive (radians/second)
-
float brake¶
主车刹车值
Main vehicle brake value
-
float engineRpm¶
发动机转速 (转/分钟)
Engine RPM (revolutions per minute)
-
float extraStates[256]¶
附加状态数据,索引由 MainVehicleExtraDataIndics 消息定义
Array of additional vehicle states indexed by MainVehicleExtraDataIndics message
-
int extraStateSize¶
附加状态的数量
Number of additional states
-
int gear¶
主车齿轮位置
Main vehicle gear position
-
SimOne_Data_IMU imuData¶
IMU 数据
IMU data
-
bool isGPSLost¶
是否丢失 GPS 信号。GPS 信号丢失可能会影响 IMU 数据的有效性。
Whether the GPS signal is lost. Loss of GPS signal may affect the validity of the IMU data.
-
char mainCarName[256]¶
主车名称 (编码:utf-8)
Main vehicle name (encoded in utf-8)
-
float odometer¶
里程表读数 (米)
Odometer reading (meters)
-
float posX¶
Opendrive 系统下的 X 方向位置 (米)
Position in the X direction on Opendrive (meters)
-
float posY¶
Opendrive 系统下的 Y 方向位置 (米)
Position in the Y direction on Opendrive (meters)
-
float posZ¶
Opendrive 系统下的 Z 方向位置 (米)
Position in the Z direction on Opendrive (meters)
-
float steering¶
主车轮胎转向角 (度)
Main vehicle wheel steering angle (degrees)
-
float throttle¶
主车油门值
Main vehicle throttle value
-
float velX¶
主车 X 方向速度 (米/秒)
Main vehicle velocity in the X direction on Opendrive (meters/second)
-
float velY¶
主车 Y 方向速度 (米/秒)
Main vehicle velocity in the Y direction on Opendrive (meters/second)
-
float velZ¶
主车 Z 方向速度 (米/秒)
Main vehicle velocity in the Z direction on Opendrive (meters/second)
-
float wheelSpeedFL¶
前左轮速度 (米/秒)
Speed of the front left wheel (meters/second)
-
float wheelSpeedFR¶
前右轮速度 (米/秒)
Speed of the front right wheel (meters/second)
-
float wheelSpeedRL¶
后左轮速度 (米/秒)
Speed of the rear left wheel (meters/second)
-
float wheelSpeedRR¶
后右轮速度 (米/秒)
Speed of the rear right wheel (meters/second)
-
float accelX¶