Functions | Variables
sim Namespace Reference

Functions

def print_led ()
 
def set_led (req)
 
def set_leds (req)
 

Variables

 led_count = rospy.get_param('~led_count', 30)
 
 state = LEDStateArray([LEDState(index=index) for index in range(led_count)])
 
 state_pub = rospy.Publisher('~state', LEDStateArray, queue_size=1, latch=True)
 

Function Documentation

◆ print_led()

def sim.print_led ( )

Definition at line 42 of file sim.py.

◆ set_led()

def sim.set_led (   req)

Definition at line 19 of file sim.py.

◆ set_leds()

def sim.set_leds (   req)

Definition at line 28 of file sim.py.

Variable Documentation

◆ led_count

sim.led_count = rospy.get_param('~led_count', 30)

Definition at line 13 of file sim.py.

◆ state

sim.state = LEDStateArray([LEDState(index=index) for index in range(led_count)])

Definition at line 16 of file sim.py.

◆ state_pub

sim.state_pub = rospy.Publisher('~state', LEDStateArray, queue_size=1, latch=True)

Definition at line 14 of file sim.py.



led_msgs
Author(s): Oleg Kalachev
autogenerated on Wed Jun 15 2022 02:21:35