Skip to content
Kobuki utilities
Branch: indigo
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts
src/kobuki_led_controller
.gitignore
CHANGELOG.rst
CMakeLists.txt
README.md
package.xml
setup.py

README.md

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.
You can’t perform that action at this time.