Functions | Variables
clover_simulation.marker Namespace Reference

Functions

def generate_markers (markers, model_directory, dictionary_id=2, map_source='')
 
def model_name (model_directory)
 

Variables

 Marker
 
 MARKER_MATERIAL_TEMPLATE = Template()
 
 MARKER_MODEL_CFG_TEMPLATE = Template()
 
 MARKER_MODEL_SDF_TEMPLATE = Template()
 
 MARKER_VISUAL_TEMPLATE = Template()
 

Function Documentation

◆ generate_markers()

def clover_simulation.marker.generate_markers (   markers,
  model_directory,
  dictionary_id = 2,
  map_source = '' 
)
Generate markers from a list. Result is a single Gazebo
model with all markers inside it.

markers: A List-like object containing Marker objects.
model_directory: Target directory for the model.
dictionary_id: Predefined ArUco dictionary ID, as defined by OpenCV.
map_source: An optional string with the name of the ArUco map file.

Definition at line 97 of file marker.py.

◆ model_name()

def clover_simulation.marker.model_name (   model_directory)
Extract model name from model directory.

model_directory: Full path to the model.

Returns Gazebo-compatible model name (available through model:// URI schema)

Definition at line 86 of file marker.py.

Variable Documentation

◆ Marker

clover_simulation.marker.Marker
Initial value:
1 = namedtuple('Marker',
2  ['id_', 'size', 'x', 'y', 'z', 'roll', 'pitch', 'yaw'])

Definition at line 13 of file marker.py.

◆ MARKER_MATERIAL_TEMPLATE

clover_simulation.marker.MARKER_MATERIAL_TEMPLATE = Template()

Definition at line 67 of file marker.py.

◆ MARKER_MODEL_CFG_TEMPLATE

clover_simulation.marker.MARKER_MODEL_CFG_TEMPLATE = Template()

Definition at line 17 of file marker.py.

◆ MARKER_MODEL_SDF_TEMPLATE

clover_simulation.marker.MARKER_MODEL_SDF_TEMPLATE = Template()

Definition at line 54 of file marker.py.

◆ MARKER_VISUAL_TEMPLATE

clover_simulation.marker.MARKER_VISUAL_TEMPLATE = Template()

Definition at line 34 of file marker.py.



clover_simulation
Author(s): Alexey Rogachevskiy, Andrey Ryabov, Arthur Golubtsov, Oleg Kalachev, Svyatoslav Zhuravlev
autogenerated on Mon Feb 28 2022 22:08:36