Problems building & running Openni2_camera
Hi All,
I've managed to download and successfully compile OpenNi2 and run the sample apps.
Getting some problems with Openni2_camera however:
Compiling I get the likes of:
/home/mark/catkin_ws/devel/lib/libopenni2_wrapper.so: undefined reference to `oniStreamRegisterNewFrameCallback'
/home/mark/catkin_ws/devel/lib/libopenni2_wrapper.so: undefined reference to `oniStreamGetProperty'
/home/mark/catkin_ws/devel/lib/libopenni2_wrapper.so: undefined reference to `oniDeviceIsCommandSupported'
/home/mark/catkin_ws/devel/lib/libopenni2_wrapper.so: undefined reference to `oniDeviceSetProperty'
/home/mark/catkin_ws/devel/lib/libopenni2_wrapper.so: undefined reference to `oniReleaseDeviceList'
/home/mark/catkin_ws/devel/lib/libopenni2_wrapper.so: undefined reference to `oniStreamDestroy'
/home/mark/catkin_ws/devel/lib/libopenni2_wrapper.so: undefined reference to `oniStreamStart'
/home/mark/catkin_ws/devel/lib/libopenni2_wrapper.so: undefined reference to `oniDeviceCreateStream'
And probably related:
Running (or trying to)
rosrun openni2_camera OpenNI2.cfg
I get
Traceback (most recent call last):
File "/home/mark/catkin_ws/src/openni2_camera/cfg/OpenNI2.cfg", line 7, in <module>
gen = ParameterGenerator()
File "/opt/ros/groovy/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py", line 234, in __init__
self.dynconfpath = sys.argv[1] # FIXME this is awful
IndexError: list index out of range
I'm running this with Groovy on my PC. Was to stick with Groovy ideally as I'm going to migrate it all to my Raspberry Pi
Many Thanks
Mark
How did you install OpenNi2? The ROS debs are built from a fork of that - there may be modifications. Can you uninstall your source copy of OpenNi2 and `sudo apt-get install libopenni2-dev libopenni2-0`?
Okay just tried that and still getting the same error