CARLA
 
载入中...
搜索中...
未找到
CarlaServerResponse.cpp
浏览该文件的文档.
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
8
10{
11 switch (Response)
12 {
14 return "Sucess";
16 return "Actor could not be found in the registry";
18 return "Component could not be found in this actor";
20 return "Actor does not match the expected type";
22 return "Actor is missing";
24 return "Actor is not a Vehicle";
26 return "Walker is already dead";
28 return "Actor is not a Walker";
30 return "Walker has incompatible controller";
32 return "Actor is null";
34 return "Autopilot is not supported by the Actor";
36 return "CarSim plugin is not enabled";
38 return "Actor is not a traffic light";
40 return "Function not availiable when the actor is dormant";
41 }
42 return "unknown error";
43}
FString CarlaGetStringError(ECarlaServerResponse Response)
ECarlaServerResponse