This commit is contained in:
2015-05-19 03:42:02 +02:00
parent 7156280bae
commit 3ff42cb533
30 changed files with 965 additions and 123 deletions
+1 -1
View File
@@ -10,13 +10,13 @@ from hos_core_msgs.msg import DeviceCommand
from hos_huecontroller.huecontroller import HueController
controller = HueController()
def deviceCmdCallback(data):
controller.deviceCmdCallback(data)
if __name__ == '__main__':
try:
controller = HueController()
rospy.Subscriber(controller.cmd_topic, DeviceCommand, deviceCmdCallback)
controller.mainLoop()
except socket.error as e:
-19
View File
@@ -1,19 +0,0 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Color Capability",
"description": "",
"type": "object",
"properties": {
"colormode": {
"description": "",
"type": "string",
"persistent": "True",
"volatile": "False"
},
"prop1": {
"$ref" : "hos:schema://core/capabilities/switch/command#"
}
},
"test" : "bla",
"persistent": ["bla1", "bla2"]
}