35#ifdef BUILD_SIMONE_API
36#if defined(WIN32) || defined(_WIN32)
37#define SIMONE_API __declspec(dllexport)
38#elif defined(__linux__) || defined(__linux)
39#define SIMONE_API __attribute__((visibility("default")))
46#include "Service/SimOneIOStruct.h"
#define SIMONE_API
Definition SimOneEvaluationAPI.h:42
ESimOne_Data_Vehicle_State
Definition SimOneIOStruct.h:546
ESimOne_Drive_Mode
Definition SimOneIOStruct.h:232
Definition SimOneControlTransAPI.h:20
SIMONE_API bool GetWayPoints(const char *mainVehicleId, SimOne_Data_WayPoints *pWayPoints)
获取案例主车路径点 Get Main Vehicle WayPoints.
SIMONE_API bool SetDriveMode(const char *mainVehicleId, ESimOne_Drive_Mode driveMode)
主车控制模式 Set the driving mode of the vehicle dynamics.
SIMONE_API bool SetVehicleToInitState(const char *mainVehicleId)
重置主车到初始状态 Reset the main vehicle state to the initial state.
SIMONE_API bool SetTrajectory(const char *mainVehicleId, SimOne_Data_Trajectory *pTrajectory)
预测轨迹设置 Set vehicle waypoints.
SIMONE_API bool SetPose(const char *mainVehicleId, SimOne_Data_Pose_Control *pPose)
设置主车位置 Set the main vehicle's pose.
SIMONE_API bool SetVehicleInitState(const char *mainVehicleId, SimOne_Vehicle_Init_State initState)
设置主车初始状态 Set the main vehicle initial state.
SIMONE_API bool SetDrive(const char *mainVehicleId, SimOne_Data_Control *pControl)
主车控制 Set vehicle drive control.
SIMONE_API bool SetRoadCoefficient(const char *mainVehicleId, SimOne_Data_Road_Coefficient roadCoeff)
设置路面摩擦系数 Set the main vehicle initial state.
SIMONE_API bool GetVehicleState(const char *mainVehicleId, SimOne_Data_Vehicle_Extra *pVehExtraState)
获取通过RegisterSimOneVehicleState注册的主车状态信息 Get states of main vehicle dynamics which are registered by R...
SIMONE_API bool GetDriverControl(const char *mainVehicleId, SimOne_Data_Control *pControl)
获取SimOneDriver控制信号 Get SimOneDriver drive control signals.
SIMONE_API void SetDriverName(const char *mainVehicleId, const char *name)
设置主车控制器的名字 Set the main vehicle driver's name.
SIMONE_API bool RegisterVehicleState(const char *mainVehicleId, ESimOne_Data_Vehicle_State *pStateIndics, int size)
注册SimOne_Data_Gps包含的状态以外的主车状态信息 Register states of main vehicle dynamics beyond those included in Sim...
SIMONE_API bool SetScenarioEventCB(void(*cb)(const char *source, const char *target, const char *type, const char *content))
场景事件回调 Register the callback for scenario events.
SIMONE_API bool SetDriveTrajectory(const char *mainVehicleId, SimOne_Data_Control_Trajectory *pControlTrajectory)
主车控制:通过规划轨迹进行控制 Set vehicle drive control by planning trajectory.
SIMONE_API bool GetControlMode(const char *mainVehicleId, SimOne_Data_Control_Mode *pControlMode)
获取车辆控制模式 Get the vehicle control mode.
SIMONE_API bool SetVehicleEvent(const char *mainVehicleId, SimOne_Data_Vehicle_EventInfo *pVehicleEvent)
设置主车预警消息 Set vehicle event information.
SIMONE_API bool SetSignalLights(const char *mainVehicleId, SimOne_Data_Signal_Lights *pSignalLights)
设置车辆信号灯状态 Set signal lights for the vehicle.
Definition SimOneIOStruct.h:1499
Definition SimOneIOStruct.h:256
Definition SimOneIOStruct.h:199
Definition SimOneIOStruct.h:113
Definition SimOneIOStruct.h:541
Definition SimOneIOStruct.h:876
Definition SimOneIOStruct.h:342
Definition SimOneIOStruct.h:308
Definition SimOneIOStruct.h:103
Definition SimOneIOStruct.h:534