CARLA
Loading...
Searching...
No Matches
CarlaServerResponse.cpp
Go to the documentation of this file.
1// Copyright (c) 2026 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 "Success";
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 available when the actor is dormant";
42 return "Vehicle has no wheel at this location";
44 return "Wheel animation override is off, enable it with set_wheel_animation_override first";
46 return "Vehicle's animation blueprint does not derive from CarlaVehicleAnimationInstance";
47 }
48 return "unknown error";
49}
FString CarlaGetStringError(ECarlaServerResponse Response)
ECarlaServerResponse