Function SimOneAPI::SetPose
-
Defined in File SimOnePNCAPI.h
Function Documentation
-
bool
SimOneAPI
::
SetPose
(
const
char
*
mainVehicleId
,
SimOne_Data_Pose_Control
*
pPose
)
-
设置主车位置
Set the main vehicle’s pose.
此函数用于设置主车的位置和方向
This function is used to set the position and orientation (pose) of the main vehicle.
- 参数 :
-
-
mainVehicleId – [in]
主车的ID
Id of the main vehicle.
-
pPose – [in]
要设置的位置(输入)
The pose to set (input).
-
- 返回 :
-
如果设置成功,则返回true,否则返回false
Returns true if the pose is successfully set, false otherwise.