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

kinect_aux indexing kinect based on serial no.

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

Amin gravatar image

Hi,

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
0

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

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

then

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

take a look at how freenect_stack has implemented this: https://github.com/piyushk/freenect_s...

edit flag offensive delete link more

Question Tools

Stats

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

Seen: 283 times

Last updated: May 09 '12