Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROS Installation of Realsense package #36

Closed
ecmnet opened this issue May 6, 2016 · 3 comments
Closed

ROS Installation of Realsense package #36

ecmnet opened this issue May 6, 2016 · 3 comments
Labels

Comments

@ecmnet
Copy link

ecmnet commented May 6, 2016

I try to install the ROS-Librealsense package on OS X. ROS is installed properly and working well. Also librealsense is working; cpp-capture also works fine.

When trying to run catkin_make on the ROS package, I get the following error:

Scanning dependencies of target _realsense_camera_generate_messages_check_deps_cameraConfiguration
Scanning dependencies of target realsense_camera_gencfg
[ 28%] Generating dynamic reconfigure files from cfg/camera_params.cfg: /Users/ecmnet/PixHawk/ros/devel/include/realsense_camera/camera_paramsConfig.h /Users/ecmnet/PixHawk/ros/devel/lib/python2.7/site-packages/realsense_camera/cfg/camera_paramsConfig.py
**/Users/ecmnet/PixHawk/ros/build/camera/setup_custom_pythonpath.sh: line 4: /Users/ecmnet/PixHawk/ros/src/camera/cfg/camera_params.cfg: Permission denied**
/Users/ecmnet/PixHawk/ros/build/camera/setup_custom_pythonpath.sh: line 4: exec: /Users/ecmnet/PixHawk/ros/src/camera/cfg/camera_params.cfg: cannot execute: Undefined error: 0
make[2]: *** [/Users/ecmnet/PixHawk/ros/devel/include/realsense_camera/camera_paramsConfig.h] Error 126
make[1]: *** [camera/CMakeFiles/realsense_camera_gencfg.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

Any advise how to overcome that issue? Thank you

@mkhansenbot
Copy link

It looks like you have a shell script that is trying to execute the .cfg file python script and it is getting permission denied. Either your shell script is not being executed with the right permissions or the cfg file is not set as executable (rwx). Check your permissions.

Also, we're not currently testing our realsense camera package with OS X. So if this works let us know.

@ecmnet
Copy link
Author

ecmnet commented May 7, 2016

@mkhansen-intel Thank you for your hint. After doing two additional modifications (i am using PCL-Version 1.8 instead of 1.7, removing linker options in CMakeLists.txt), the package could be built without errors. The nodelet is running perfectly on jade/OSX now.

@ecmnet ecmnet closed this as completed May 7, 2016
mdhorn pushed a commit to mdhorn/realsense that referenced this issue Jul 13, 2016
@kubark42
Copy link

kubark42 commented Oct 6, 2016

@ecmnet, I have a similar installation problem on OSX/macOS Sierra. Do you think you could quickly elaborate on your answer? What in specific were the two additional modifications?

icarpis pushed a commit to icarpis/realsense that referenced this issue Sep 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants