CARLA
 
载入中...
搜索中...
未找到
CarlaServerResponse.h
浏览该文件的文档.
1// Copyright (c) 2020 Computer Vision Center (CVC) at the Universitat Autonoma
2// de Barcelona (UAB).
3//
4// This work is licensed under the terms of the MIT license.
5// For a copy, see <https://opensource.org/licenses/MIT>.
6
7#pragma once
8// 定义一个枚举类型 ECarlaServerResponse,表示 Carla 服务器的响应状态
10{
11 Success,// 操作成功
12 ActorNotFound, // 找不到指定的 actor
13 ComponentNotFound,// 找不到指定的组件
14 ActorTypeMismatch,// actor 类型不匹配
15 FunctionNotSupported,// 不支持的函数调用
16 NullActor,// 空的 actor
17 MissingActor,// 缺少 actor
18 NotAVehicle,// 不是车辆类型的 actor
19 WalkerDead,// 行人已死亡
20 NotAWalker,// 不是行人类型的 actor
21 WalkerIncompatibleController,// 行人控制器不兼容
22 AutoPilotNotSupported,// 自动驾驶不支持
23 CarSimPluginNotEnabled, // 车辆模拟插件未启用
24 NotATrafficLight,// 不是交通信号灯
25 FunctionNotAvailiableWhenDormant// 当处于休眠状态时函数不可用
26};
27
FString CarlaGetStringError(ECarlaServerResponse Response)
ECarlaServerResponse