kobuki_led_controller repository

Repository Summary

Checkout URI https://github.com/jihoonl/kobuki_led_controller.git
VCS Type git
VCS Version indigo
Last Updated 2015-07-09
Dev Status DEVELOPED
Released RELEASED

Packages

Name Version
kobuki_led_controller 0.0.1

README

kobuki_led_controller

Usage

import kobuki_led_controller

rospy.init_node('Hello')

blinker = kobuki_led_controller.LedBlinker()
rospy.loginfo("Blinker : blinker start")
blinker.start() # Starts Led blinker thread.

rospy.loginfo("Blinker : blinks red")
blinker.set_on_error() # Blinks Red LED
rospy.sleep(3.0)

rospy.loginfo("Blinker : blinks Green")
blinker.set_on_ok()    # blinks Green LED
rospy.sleep(3.0)

rospy.loginfo("Blinker : stop blinking")
blinker.set_on_off()   # stop blinking

rospy.loginfo("Blinker : blinker stops")
blinker.stop()         # stops led blinkder thread.