Function SimOneAPI::GetSensorConfigurations
Defined in File SimOneSensorAPI.h
Function Documentation
-
bool SimOneAPI::GetSensorConfigurations(const char *mainVehicleId, SimOne_Data_SensorConfigurations *pSensorConfigurations)
得到所有传感器的配置信息(Id、类型、频率、位置和朝向等)
Retrieve Configuration Information for All Sensors (ID, Type, Frequency, Position, and Orientation, etc
此函数用于获取仿真主车中搭载的所有传感器配置信息.
This function is used to get the config infromation of all the sensor(s) onboard the vehicle.
- 参数:
mainVehicleId -- [in]
主车的ID
Id of the main vehicle
pSensorConfigurations -- [out]
传感器配置信息
SensorConfigurations data
- 返回:
如果成功获取传感器配置数据,则返回true,否则返回false
Returns true if the sensor configuration data is successfully retrieved, false otherwise