Astra camera, ROS ros_aster_camera
Hello, I have a problem trying to use the Orbbec Aster camera. I downloaded the git pkj for camera ros_astra_camera from https://github.com/orbbec/ros_astra_c... . And doing everything step-by-step, by on the compiling step, catkin_make, I got next error and don't know what to do:
In file included from /home/odroid/catkin_ws/src/ros_astra_camera/src/astra_timer_filter.cpp:33:0:
/home/odroid/catkin_ws/src/ros_astra_camera/include/astra_camera/astra_timer_filter.h:38:28: fatal error: openni2/OpenNI.h: No such file or directory
compilation terminated.
ros_astra_camera/CMakeFiles/astra_wrapper.dir/build.make:134: recipe for target 'ros_astra_camera/CMakeFiles/astra_wrapper.dir/src/astra_timer_filter.cpp.o' failed
make[2]: *** [ros_astra_camera/CMakeFiles/astra_wrapper.dir/src/astra_timer_filter.cpp.o] Error 1
/home/odroid/catkin_ws/src/ros_astra_camera/src/astra_frame_listener.cpp:32:28: fatal error: openni2/OpenNI.h: No such file or directory
compilation terminated.
ros_astra_camera/CMakeFiles/astra_wrapper.dir/build.make:158: recipe for target 'ros_astra_camera/CMakeFiles/astra_wrapper.dir/src/astra_frame_listener.cpp.o' failed
make[2]: *** [ros_astra_camera/CMakeFiles/astra_wrapper.dir/src/astra_frame_listener.cpp.o] Error 1
In file included from /home/odroid/catkin_ws/src/ros_astra_camera/src/astra_convert.cpp:33:0:
/home/odroid/catkin_ws/src/ros_astra_camera/include/astra_camera/astra_convert.h:40:28: fatal error: openni2/OpenNI.h: No such file or directory
compilation terminated.
ros_astra_camera/CMakeFiles/astra_wrapper.dir/build.make:62: recipe for target 'ros_astra_camera/CMakeFiles/astra_wrapper.dir/src/astra_convert.cpp.o' failed
make[2]: *** [ros_astra_camera/CMakeFiles/astra_wrapper.dir/src/astra_convert.cpp.o] Error 1
In file included from /home/odroid/catkin_ws/src/ros_astra_camera/src/astra_device_manager.cpp:34:0:
/home/odroid/catkin_ws/src/ros_astra_camera/include/astra_camera/astra_convert.h:40:28: fatal error: openni2/OpenNI.h: No such file or directory
compilation terminated.
ros_astra_camera/CMakeFiles/astra_wrapper.dir/build.make:182: recipe for target 'ros_astra_camera/CMakeFiles/astra_wrapper.dir/src/astra_device_manager.cpp.o' failed
make[2]: *** [ros_astra_camera/CMakeFiles/astra_wrapper.dir/src/astra_device_manager.cpp.o] Error 1
CMakeFiles/Makefile2:5657: recipe for target 'ros_astra_camera/CMakeFiles/astra_wrapper.dir/all' failed
make[1]: *** [ros_astra_camera/CMakeFiles/astra_wrapper.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j8 -l8" failed
help me, regards
Can you please tell us why you are using a fork instead of the main repository (ie: orbbec/ros_astra_camera)?
Can't answer this question, I just found that git for astra camera on google. I forgot to mention one thing, I tried to install OpenNI but I think I couldn't, and I also don't know how to check itю
If you absolutely must build from source, then I would suggest to use the upstream repository.
Otherwise, see: astra_camera, which seems to suggest that you can install the packages using
apt-get install ros-kinetic-astra-camera
.So, you suggest to download not from folk but from main?
and probably I made a mistake and download not from folk, but from main https://github.com/orbbec/ros_astra_c...
If you must build from source, then yes, I'd use the source repository (ie: not a fork, unless you have a reason to).
I change the question because I've made a mistake, I downloaded from main and there is instruction which I was following.