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

openni2 load oni file in Indigo

asked 2015-11-02 07:30:41 -0500

rastaxe gravatar image

I am not able to load a oni file (OpenNI record file) with openni2 in Indigo. In Hydro I was able to load it simply with:

roslaunch openni2_launch openni2.launch device_id:=/path/to/your/file.oni

but in Indigo openni2 still tries to open the real device. Any suggestions?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-09-12 02:52:56 -0500

rastaxe gravatar image

I was able to solve the issue, by changing these lines on openni2_camera (lines 682):

 // check if device_id is a oni file
   else if( device_id.size() - device_id.rfind(".oni") == 4 ) {
         return device_id;
edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-11-02 07:30:41 -0500

Seen: 441 times

Last updated: Sep 12 '16