server.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 #
00003 # License: BSD
00004 #   https://raw.github.com/robotics-in-concert/rocon_devices/license/LICENSE
00005 #
00006 #################################################################################
00007 
00008 # sys
00009 import sys
00010 
00011 # ros
00012 import rospy
00013 from rocon_hue import RoconBridge
00014 
00015 if __name__ == '__main__':
00016     rospy.init_node('hue_bridge')
00017     if rospy.has_param('~hue_ip'):
00018         hue_ip = rospy.get_param('~hue_ip')
00019         bridge = RoconBridge(hue_ip=hue_ip)
00020         bridge.spin()
00021     else:
00022         rospy.logwarn('No argument hue ip')
00023         sys.exit()


rocon_hue
Author(s): DongWook Lee
autogenerated on Thu Jun 6 2019 17:58:51