ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

kinect_aux indexing kinect based on serial no.

asked 2012-05-09 23:08:32 -0500

Amin gravatar image


I'm currently using Kinect_aux for multiple kinects. I adjust the device_index param each time I want to switch to another kinect. The point is when I replace the USB connectors or restart the OS the index arrangement changes randomly. So I need to choose a kinect based on its serial no. or any other device specific id.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-12-24 02:46:18 -0500

wchar gravatar image
boost::shared_ptr<FreenectDevice> device_;


std::string serial_number = device_->getSerialNumber();

take a look at how freenect_stack has implemented this:

edit flag offensive delete link more

Question Tools


Asked: 2012-05-09 23:08:32 -0500

Seen: 284 times

Last updated: May 09 '12