SimOne C++ API Reference 3.7.0
SimOne 仿真平台C++接口文档
Loading...
Searching...
No Matches
SimOnePNCAPI.h File Reference
#include <string>
#include "Service/SimOneIOStruct.h"
Include dependency graph for SimOnePNCAPI.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  SimOneAPI

Macros

#define SIMONE_API

Functions

SIMONE_API bool SimOneAPI::RegisterVehicleState (const char *mainVehicleId, ESimOne_Data_Vehicle_State *pStateIndics, int size)
 注册SimOne_Data_Gps包含的状态以外的主车状态信息
Register states of main vehicle dynamics beyond those included in SimOne_Data_Gps.
SIMONE_API bool SimOneAPI::GetVehicleState (const char *mainVehicleId, SimOne_Data_Vehicle_Extra *pVehExtraState)
 获取通过RegisterSimOneVehicleState注册的主车状态信息
Get states of main vehicle dynamics which are registered by RegisterSimOneVehicleState.
SIMONE_API bool SimOneAPI::SetPose (const char *mainVehicleId, SimOne_Data_Pose_Control *pPose)
 设置主车位置
Set the main vehicle's pose.
SIMONE_API bool SimOneAPI::SetDrive (const char *mainVehicleId, SimOne_Data_Control *pControl)
 主车控制
Set vehicle drive control.
SIMONE_API bool SimOneAPI::SetDriveMode (const char *mainVehicleId, ESimOne_Drive_Mode driveMode)
 主车控制模式
Set the driving mode of the vehicle dynamics.
SIMONE_API bool SimOneAPI::SetTrajectory (const char *mainVehicleId, SimOne_Data_Trajectory *pTrajectory)
 预测轨迹设置
Set vehicle waypoints.
SIMONE_API bool SimOneAPI::SetDriveTrajectory (const char *mainVehicleId, SimOne_Data_Control_Trajectory *pControlTrajectory)
 主车控制:通过规划轨迹进行控制
Set vehicle drive control by planning trajectory.
SIMONE_API void SimOneAPI::SetDriverName (const char *mainVehicleId, const char *name)
 设置主车控制器的名字
Set the main vehicle driver's name.
SIMONE_API bool SimOneAPI::SetVehicleEvent (const char *mainVehicleId, SimOne_Data_Vehicle_EventInfo *pVehicleEvent)
 设置主车预警消息
Set vehicle event information.
SIMONE_API bool SimOneAPI::SetSignalLights (const char *mainVehicleId, SimOne_Data_Signal_Lights *pSignalLights)
 设置车辆信号灯状态
Set signal lights for the vehicle.
SIMONE_API bool SimOneAPI::GetControlMode (const char *mainVehicleId, SimOne_Data_Control_Mode *pControlMode)
 获取车辆控制模式
Get the vehicle control mode.
SIMONE_API bool SimOneAPI::GetDriverControl (const char *mainVehicleId, SimOne_Data_Control *pControl)
 获取SimOneDriver控制信号
Get SimOneDriver drive control signals.
SIMONE_API bool SimOneAPI::GetWayPoints (const char *mainVehicleId, SimOne_Data_WayPoints *pWayPoints)
 获取案例主车路径点
Get Main Vehicle WayPoints.
SIMONE_API bool SimOneAPI::SetScenarioEventCB (void(*cb)(const char *source, const char *target, const char *type, const char *content))
 场景事件回调
Register the callback for scenario events.
SIMONE_API bool SimOneAPI::SetVehicleToInitState (const char *mainVehicleId)
 重置主车到初始状态
Reset the main vehicle state to the initial state.
SIMONE_API bool SimOneAPI::SetVehicleInitState (const char *mainVehicleId, SimOne_Vehicle_Init_State initState)
 设置主车初始状态
Set the main vehicle initial state.
SIMONE_API bool SimOneAPI::SetRoadCoefficient (const char *mainVehicleId, SimOne_Data_Road_Coefficient roadCoeff)
 设置路面摩擦系数
Set the main vehicle initial state.

Macro Definition Documentation

◆ SIMONE_API

#define SIMONE_API