ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
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_stack/blob/master/freenect_camera/src/nodelets/driver.cpp