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

openni2 load oni file in Indigo

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

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
0

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

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

Stats

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

Seen: 454 times

Last updated: Sep 12 '16