Steering Anki Overdrive Cars via Kinect and Bluemix
I’ve open sourced a sample showing how to steer Anki Overdrive cars via Kinect and IBM Bluemix. Read on to learn more.
Join the DZone community and get the full member experience.Join For Free
i’ve open sourced a sample showing how to steer anki overdrive cars via kinect and ibm bluemix . the sample requires the node.js controller and mqtt interface that i had open sourced previously. the sample is another alternative showing how to send commands to the cars in addition to watson speech recognition .
the project contains sample code that shows how to send mqtt commands to ibm bluemix when "buttons" are pressed via kinect. for example, buttons are pressed when you move hands over them and wait for two seconds. the project is configured so that this only works when hands are between 50 cm and 1,00 m away from the kinect. the distance is measured via the kinect depth sensor.
the left picture shows the depth information, the right picture is an rgb image.
when a hand is moved above a button, the state of the button changes to "pressed" and if the hand is still above the button two seconds later, the appropriate action is invoked.
here is a picture of me driving the cars via kinect.
Published at DZone with permission of Niklas Heidloff, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.