stereoMagic
stereoMagic copied to clipboard
The roslaunch fails with the "process died"
I am running two pointgrey flea3 cams and tried running the stereo_sim.launch file. I get a process died for the camera nodes.
Even the stereo.launch fails
File "/home/user/catkin_ws/src/stereoMagic/scripts/rectify.py", line 86, in <module> main(sys.argv) File "/home/user/catkin_ws/src/stereoMagic/scripts/rectify.py", line 78, in main ic = Rectify() File "/home/user/catkin_ws/src/stereoMagic/scripts/rectify.py", line 27, in __init__ self.dist = np.load(GLOBAL_PATH + '/src/stereo/params/dist.npy') File "/usr/lib/python2.7/dist-packages/numpy/lib/npyio.py", line 362, in load fid = open(file, "rb") IOError: [Errno 2] No such file or directory: '/home/rachillesf/catkin_ws/src/stereo/params/dist.npy' [rectify-2] process has died [pid 24228, exit code 1, cmd /home/user/catkin_ws/src/stereoMagic/scripts/rectify.py __name:=rectify __log:=/home/user/.ros/log/444aca0e-31ab-11e7-b810-0028f82eb4a9/rectify-2.log]. log file: /home/user/.ros/log/444aca0e-31ab-11e7-b810-0028f82eb4a9/rectify-2*.log
The problem is probably in the ".npy" camera parameters files. This message is for the stereo.launch or for the stereo_sim.launch?
If you have the rectified image topics from your camera you cam run only the stereo_node. (just make sure the topics name are correct).
The rectification procedure i'm using is really bad so i will try to change it as soon as possible.
Best Regards, Ricardo.
I get this message for both the launch files. I have rectified images, I just want to test the real time stereo matching
if your images are rectified you can just run the stereo_node. Only make sure the name of your topics are correct.
I ran just the stereo_node with rectified images, I get nothing on the camera/depth/pointcloud and camera/depth/image although I am running the bag file and set the appropriate topic names. The rqt_graph shows only subscription to only 1 of the cameras and not the stereo. Any reason for this to happen? Thanks