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

Revision history [back]

click to hide/show revision 1
initial version

I think the 'bad parameter' error comes when openni calls InitFromXmlFile to parse an xml file containing the setup for the sensor. The error output tells you where to look in the C++ code. Have a look at the code to see the directory path of the xml file. Any syntax error in the file will cause the error, but I recently had this error because the rgb image node was declared BEFORE the depth image node. Changing the order of the nodes fixed the problem. Strangely this error occurred only after installing ROS. I had used the same xml file for years without this problem.