Rgbdslam using .oni file, not working

asked 2015-01-06 23:13:03 -0500

Mr.K gravatar image

Hi all, I'm new in ROS and want to run rgbdslam using .oni file. I followed this instruction: answers.ros.org/question/36487/using-rgbdslam-with-oni-files/ , but have an error as follows:

terminate called after throwing an instance of 'openni_wrapper::OpenNIException'   what():  virtual void openni_wrapper::OpenNIDevice::setSynchronization(bool) @ /opt/ros/electric/stacks/openni_kinect/openni_camera/src/openni_device.cpp @ 423 : could not turn on frame synchronization. Reason: The node is locked for changes!

It occurs when I run:

rosrun rgbdslam rgbdslam

Previously I've successfully run:

roslaunch openni_launch openni.launch

I use ros-electric on ubuntu 11.10 and install openni from here , it's because ros-electric-openni-kinect cannot record .oni using NiViewer (provided on OpenNI sample directory).

Indeed, thanks for help and assistance.

edit retag flag offensive close merge delete