CARLA
CarlaServerResponse.cpp
Go to the documentation of this file.
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 #include "CarlaServerResponse.h"
8 
10 {
11  switch (Response)
12  {
14  return "Sucess";
16  return "Actor could not be found in the registry";
18  return "Actor does not match the expected type";
20  return "Actor is missing";
22  return "Actor is not a Vehicle";
24  return "Walker is already dead";
26  return "Actor is not a Walker";
28  return "Walker has incompatible controller";
30  return "Actor is null";
32  return "Autopilot is not supported by the Actor";
34  return "CarSim plugin is not enabled";
36  return "Actor is not a traffic light";
38  return "Function not availiable when the actor is dormant";
39  }
40  return "unknown error";
41 }
ECarlaServerResponse
FString CarlaGetStringError(ECarlaServerResponse Response)