CloudTwin  ROS2 Humble
Digital twin for path and trajectory optimisation
Classes | Functions | Variables
obstacles_fixes Namespace Reference

Classes

class  FixedObstacles
 

Functions

def main (args=None)
 

Variables

tuple FIXED_HUMANS
 
string PERSON_SDF
 

Detailed Description

Spawn the hospital's permanent humans and expose all people on one topic.

The moving scenario publishes its people on ``/scenario_people_positions``.
This node adds the permanent humans below and republishes the combined list on
``/people_positions`` so the dynamic map continues to consume a single topic.

Function Documentation

◆ main()

def obstacles_fixes.main (   args = None)

Variable Documentation

◆ FIXED_HUMANS

tuple obstacles_fixes.FIXED_HUMANS
Initial value:
1 = (
2  ("fixed_human_1", -1.31, -11.611, -0.0014326),
3  ("fixed_human_2", 1.16, -11.41, -0.00143),
4  ("fixed_human_3", -2.76, -10.67, -0.00143),
5  ("fixed_human_4", 2.6379, -10.7022, -0.00143),
6  ("fixed_human_5", 11.0741, 2.2342, -0.00143),
7  ("fixed_human_6", 9.27, 1.92, -0.00143),
8  ("fixed_human_7", 8.68, -1.32, -0.00143),
9 )

◆ PERSON_SDF

string obstacles_fixes.PERSON_SDF
Initial value:
1 = """<?xml version="1.0" ?>
2 <sdf version="1.6">
3  <model name="{name}">
4  <static>true</static>
5  <link name="body">
6  <gravity>false</gravity>
7  <visual name="visual">
8  <geometry>
9  <mesh>
10  <uri>model://Scrubs/meshes/scrubs.obj</uri>
11  </mesh>
12  </geometry>
13  </visual>
14  <collision name="collision">
15  <geometry>
16  <mesh>
17  <uri>model://Scrubs/meshes/Scrubs_Col.obj</uri>
18  </mesh>
19  </geometry>
20  </collision>
21  </link>
22  </model>
23 </sdf>"""