class documentation

class LedRingSimulation:

Constructor: LedRingSimulation(led_count)

View In Hierarchy

Object which implements control method for the Led ring

Static Method get_rgba_color_for_markers color_255 is a ColorRGBA object with values between 0 and 255. Return a ColorRGBA object with values between 0 and 1
Method __init__ Undocumented
Method new_marker Return a positioned marker, equivalent to a Led pixel, but in simulation
Method set_all_led_markers color_per_markers is a list of ColorRGBA values, of lenght : number of leds
Method set_one_led_marker Color is a ColorRGBA values. Index is the index of the led ring pixel (marker) we want to change
Method show_led_ring_markers Publish on the visualization marker array topic. Equivalent to strip.show, but in simulation.
Instance Variable led_count Undocumented
Instance Variable led_marker_collada_path Undocumented
Instance Variable led_ring_markers_publish_rate Undocumented
Instance Variable marker_pub Undocumented
Instance Variable markers_array Undocumented
Instance Variable need_publish Undocumented
Instance Variable publish_markers_timer Undocumented
Instance Variable use_mesh Undocumented
Method __publish_makers_cb Undocumented
@staticmethod
def get_rgba_color_for_markers(color_255):

color_255 is a ColorRGBA object with values between 0 and 255. Return a ColorRGBA object with values between 0 and 1

def __init__(self, led_count):

Undocumented

def new_marker(self, position):

Return a positioned marker, equivalent to a Led pixel, but in simulation

def set_all_led_markers(self, color_per_marker):

color_per_markers is a list of ColorRGBA values, of lenght : number of leds

def set_one_led_marker(self, led_id, color_rgba_255):

Color is a ColorRGBA values. Index is the index of the led ring pixel (marker) we want to change

def show_led_ring_markers(self):

Publish on the visualization marker array topic. Equivalent to strip.show, but in simulation.

led_count =

Undocumented

led_marker_collada_path =

Undocumented

led_ring_markers_publish_rate =

Undocumented

marker_pub =

Undocumented

markers_array =

Undocumented

need_publish: bool =

Undocumented

publish_markers_timer =

Undocumented

use_mesh =

Undocumented

def __publish_makers_cb(self, _):

Undocumented