|
| 1 | +# Features supported by the simulator. |
| 2 | + |
| 3 | +uint8 SPAWNING = 0 # Supports spawn interface (SpawnEntity). |
| 4 | +uint8 DELETING = 1 # Supports deleting entities (DeleteEntity). |
| 5 | +uint8 NAMED_POSES = 2 # Supports predefined named poses (GetNamedPoses). |
| 6 | +uint8 POSE_BOUNDS = 3 # Supports pose bounds (GetNamedPoseBounds). |
| 7 | +uint8 ENTITY_TAGS = 4 # Supports entity tags in interfaces using EntityFilters, such as GetEntities. |
| 8 | +uint8 ENTITY_BOUNDS = 5 # Supports entity bounds (GetEntityBounds). |
| 9 | +uint8 ENTITY_BOUNDS_BOX = 6 # Supports entity filtering with bounds with TYPE_BOX. |
| 10 | +uint8 ENTITY_BOUNDS_CONVEX = 7 # Supports entity filtering with Bounds TYPE_CONVEX_HULL. |
| 11 | +uint8 ENTITY_CATEGORIES = 8 # Supports entity categories, such as in use with EntityFilters or SetEntityInfo. |
| 12 | +uint8 SPAWNING_RESOURCE_STRING = 9 # Supports SpawnEntity resource_string field. |
| 13 | + |
| 14 | +uint8 ENTITY_STATE_GETTING = 10 # Supports GetEntityState interface. |
| 15 | +uint8 ENTITY_STATE_SETTING = 11 # Supports SetEntityState interface. |
| 16 | +uint8 ENTITY_INFO_GETTING = 12 # Supports GetEntityInfo interface. |
| 17 | +uint8 ENTITY_INFO_SETTING = 13 # Supports SetEntityInfo interface. |
| 18 | +uint8 SPAWNABLES = 14 # Supports GetSpawnables interface. |
| 19 | + |
| 20 | +uint8 SIMULATION_RESET = 20 # Supports one or more ways to reset the simulation through ResetSimulation. |
| 21 | +uint8 SIMULATION_RESET_TIME = 21 # Supports SCOPE_TIME flag for resetting. |
| 22 | +uint8 SIMULATION_RESET_STATE = 22 # Supports SCOPE_STATE flag for resetting. |
| 23 | +uint8 SIMULATION_RESET_SPAWNED = 23 # Supports SCOPE_SPAWNED flag for resetting. |
| 24 | +uint8 SIMULATION_STATE_GETTING = 24 # Supports GetSimulationState interface. |
| 25 | +uint8 SIMULATION_STATE_SETTING = 25 # Supports SetSimulationState interface. Check SIMULATION_STATE_PAUSE feature |
| 26 | + # for setting STATE_PAUSED. |
| 27 | +uint8 SIMULATION_STATE_PAUSE = 26 # Supports the STATE_PAUSED SimulationState in SetSimulationState interface. |
| 28 | + |
| 29 | +uint8 STEP_SIMULATION_SINGLE = 31 # Supports single stepping through simulation with StepSimulation interface. |
| 30 | +uint8 STEP_SIMULATION_MULTIPLE = 32 # Supports multi-stepping through simulation, either through StepSimulation. |
| 31 | + # service or through SimulateSteps action. |
| 32 | +uint8 STEP_SIMULATION_ACTION = 33 # Supports SimulateSteps action interface. |
| 33 | + |
| 34 | + |
| 35 | +uint16[] features # A list of simulation features as specified by the list above. |
| 36 | + |
| 37 | +# A list of additional supported formats for spawning, which might be empty. Values may include |
| 38 | +# * sdf (SDFormat) |
| 39 | +# * urdf (Unified Robot Description Format) |
| 40 | +# * usd (Universal Scene Description) |
| 41 | +# * mjcf (MuJoCo's XML format) |
| 42 | +# or whatever simulator-native formats that are supported. |
| 43 | +string[] spawn_formats |
| 44 | +string custom_info # Optional: extra information for the caller, which could point to |
| 45 | + # documentation, version compatibility and other useful meta information. |
0 commit comments