|
| 1 | +// generated from rosidl_adapter/resource/srv.idl.em |
| 2 | +// with input from carla_msgs/srv/LoadMap.srv |
| 3 | +// generated code does not contain a copyright notice |
| 4 | +#pragma once |
| 5 | + |
| 6 | +module carla_msgs { |
| 7 | + module srv { |
| 8 | + module LoadMap_Request_Constants { |
| 9 | + @verbatim (language="comment", text= |
| 10 | + "These are the flags for the map layers to be loaded") |
| 11 | + const uint16 MAPLAYERFLAG_NONE = 0; |
| 12 | + const uint16 MAPLAYERFLAG_BUILDINGS = 1; |
| 13 | + const uint16 MAPLAYERFLAG_DECALS = 2; |
| 14 | + const uint16 MAPLAYERFLAG_FOLIAGE = 4; |
| 15 | + const uint16 MAPLAYERFLAG_GROUND = 8; |
| 16 | + const uint16 MAPLAYERFLAG_PARKEDVEHICLES = 16; |
| 17 | + const uint16 MAPLAYERFLAG_PARTICLES = 32; |
| 18 | + const uint16 MAPLAYERFLAG_PROPS = 64; |
| 19 | + const uint16 MAPLAYERFLAG_STREETLIGHTS = 128; |
| 20 | + const uint16 MAPLAYERFLAG_WALLS = 256; |
| 21 | + const uint16 MAPLAYERFLAG_ALL = 65535; |
| 22 | + }; |
| 23 | + @verbatim (language="comment", text= |
| 24 | + "Copyright (c) 2020 Intel Corporation." "\n" |
| 25 | + "" "\n" |
| 26 | + "This work is licensed under the terms of the MIT license." "\n" |
| 27 | + "For a copy, see <https://opensource.org/licenses/MIT>.") |
| 28 | + struct LoadMap_Request { |
| 29 | + string mapname; |
| 30 | + |
| 31 | + @verbatim (language="comment", text= |
| 32 | + "If the map was already loaded, per default nothing is done (resulting in a success=false response). By setting force_reload to \c True this behavior can be changed.") |
| 33 | + @default (value=FALSE) |
| 34 | + boolean force_reload; |
| 35 | + |
| 36 | + @verbatim (language="comment", text= |
| 37 | + "Should the episode settings be reset to the default") |
| 38 | + @default (value=TRUE) |
| 39 | + boolean reset_episode_settings; |
| 40 | + |
| 41 | + @verbatim (language="comment", text= |
| 42 | + "The map layers to be loaded, default is MAPLAYERFLAG_ALL") |
| 43 | + @default (value=65535) |
| 44 | + uint16 map_layers; |
| 45 | + }; |
| 46 | + struct LoadMap_Response { |
| 47 | + boolean success; |
| 48 | + }; |
| 49 | + }; |
| 50 | +}; |
0 commit comments