Function SimOneAPI::GetGps
Defined in File SimOneSensorAPI.h
Function Documentation
-
bool SimOneAPI::GetGps(const char *mainVehicleId, SimOne_Data_Gps *pGps)
获取主车GPS信息
function: GetGps
brief: Get main vehicle GPS
- 参数
mainVehicleId – [in] Id of the main vehicle
pGps – [out] GPS data: position, rotation, velocity, throttle, brake, steering, gear, acceleration, angular velocity, wheel-speed, engin-speed, odometer, …etc
- 返回
Success or not