robokudo.annotators.outputs

Classes

AnnotatorOutputStruct

This class is the main data representation for visual outputs that the annotators generated.

AnnotatorOutputs

AnnotatorOutputPerPipelineMap

ClearAnnotatorOutputs

Put directly in the corresponding RK Pipeline

Module Contents

class robokudo.annotators.outputs.AnnotatorOutputStruct

This class is the main data representation for visual outputs that the annotators generated. These will get consumed by the GUI after the pipeline is ran or you have used the SetPipelineRedraw Behaviour. Check out the GUI related classes for more details.

image
geometries = None
render_next_time = True
set_image(img)

Set the image in this AnnotatorOutputStruct and instruct the GUI to render it next time.

set_geometries(geometries)

Set the geometries in this AnnotatorOutputStruct and instruct the GUI to render it next time.

Parameters:

geometries – This parameter holds the geometries to be drawn. It should behave like o3d.visualization.draw,

which means that you can either pass a drawable geometry, a dict with a drawable geometry (see https://github.com/isl-org/Open3D/blob/73bbddc8851b1670b7e74b7cf7af969360f48317/examples/python/visualization/draw.py#L123 for an example) or a list of both.

class robokudo.annotators.outputs.AnnotatorOutputs
outputs
redraw = True
init_annotator(annotator_name)
clear_outputs()
class robokudo.annotators.outputs.AnnotatorOutputPerPipelineMap
map
class robokudo.annotators.outputs.ClearAnnotatorOutputs(name='ClearAnnotatorOutputs')

Bases: py_trees.Behaviour

Put directly in the corresponding RK Pipeline

rk_logger = None
update()