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

Launch file crashes on giving a real image topic. #51

Open
parhartanvir opened this issue Mar 3, 2017 · 5 comments
Open

Launch file crashes on giving a real image topic. #51

parhartanvir opened this issue Mar 3, 2017 · 5 comments

Comments

@parhartanvir
Copy link

Whenever I run the following command
roslaunch opencv_apps lk_flow.launch image:=one_image_raw

It crashes with the following error

[lk_flow-1] process has died [pid 6645, exit code -11, cmd /home/frcvision/catkin_ws/devel/lib/opencv_apps/lk_flow image:=one_image_raw __name:=lk_flow __log:=/home/frcvision/.ros/log/c914a1be-ffac-11e6-88c1-d8cb8ac73819/lk_flow-1.log]. log file: /home/frcvision/.ros/log/c914a1be-ffac-11e6-88c1-d8cb8ac73819/lk_flow-1*.log

The file lk_flow-1.log* is always empty.

Thanks,
Tanvir

@iory
Copy link
Contributor

iory commented Mar 30, 2017

If you installed ros-indigo-opencv3, please try following steps.

mkdir -p ~/ws_opencv_apps/src
cd ~/ws_opencv_apps/src
cd ~/ws_opencv_apps
catkin init
cd ~/ws_opencv_apps/src
wstool init
wstool set --git opencv_apps https://github.com/ros-perception/opencv_apps.git -y
rosinstall_generator image_pipeline --upstream >> .rosinstall.opencv3; fi # need to recompile image_proc
rosinstall_generator compressed_image_transport --upstream >> .rosinstall.opencv3; fi # need to recompile compressed_image_transport
rosinstall_generator vision_opencv --upstream >> .rosinstall.opencv3; fi # need to recompile visoin_opencv
wstool merge .rosinstall.opencv3; fi # need to recompile visoin_opencv
wstool up

source /opt/ros/indigo/setup.bash
catkin b
source ~/ws_opencv_apps/devel/setup.bash

@k-okada
Copy link
Contributor

k-okada commented Mar 31, 2017

@iory why you assume @parhartanvir is using opencv3
@parhartanvir running with opencv3 on indigo is super experimental settings, we do not recommend to use that, even if works for opencv_apps, it will have side-effects to other repository
@parhartanvir please provide OS version, ROS version when you run your application,

roslaunch --screen opencv_apps lk_flow.launch image:=one_image_raw

will show more information and also lk_flow-1*.log is empty, please check other files in /home/frcvision/.ros/log/c914a1be-ffac-11e6-88c1-d8cb8ac73819/

@iory
Copy link
Contributor

iory commented Mar 31, 2017

why you assume @parhartanvir is using opencv3

I have seen a similar error, and I suspected it was the effect of opencv3.

@hh129sss5
Copy link

Closed

@hh129sss5
Copy link

Closed

Overview closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants