ethz-asl / ethzasl_ptam

Modified version of Parallel Tracking and Mapping (PTAM)
http://wiki.ros.org/ethzasl_ptam
235 stars 184 forks source link

ptam exist without error #103

Open rnunziata opened 6 years ago

rnunziata commented 6 years ago

ptam exist without error: There are no errors or warning in any of the logs files just 'process has died' . See full log files attached. System is ubuntu16, kinetic. How can I get more information?N

Note: this only happens when running from a launch file. If I run rosrun ptam ptam image:=/wide_stereo/left/image_rect and run the bag file it works ok.

[roslaunch][INFO] 2017-10-15 15:12:40,352: process[visualizer-4]: args[[u'/home/rjn/catkin_make_ws/src/ethzasl_ptam/ptam/bin/ptam_visualizer', u'__name:=visualizer']]
[roslaunch][INFO] 2017-10-15 15:12:40,352: ... created process [visualizer-4]
[roslaunch.pmon][INFO] 2017-10-15 15:12:40,352: ProcessMonitor.register[visualizer-4]
[roslaunch.pmon][INFO] 2017-10-15 15:12:40,352: ProcessMonitor.register[visualizer-4] complete
[roslaunch][INFO] 2017-10-15 15:12:40,352: ... registered process [visualizer-4]
[roslaunch][INFO] 2017-10-15 15:12:40,352: process[visualizer-4]: starting os process
[roslaunch][INFO] 2017-10-15 15:12:40,353: process[visualizer-4]: start w/ args [[u'/home/rjn/catkin_make_ws/src/ethzasl_ptam/ptam/bin/ptam_visualizer', u'__name:=visualizer', u'__log:=/home/rjn/.ros/log/d01371ba-b1dc-11e7-a7ba-0028f87b9f9e/visualizer-4.log']]
[roslaunch][INFO] 2017-10-15 15:12:40,353: process[vis
[d01371ba-b1dc-11e7-a7ba-0028f87b9f9e.tar.gz](https://github.com/ethz-asl/ethzasl_ptam/files/1385744/d01371ba-b1dc-11e7-a7ba-0028f87b9f9e.tar.gz)
ualizer-4]: cwd will be [/home/rjn/.ros]
[roslaunch][INFO] 2017-10-15 15:12:40,355: process[visualizer-4]: started with pid [25377]
[roslaunch][INFO] 2017-10-15 15:12:40,355: ... successfully launched [visualizer-4]
[roslaunch][INFO] 2017-10-15 15:12:40,355: ... launch_nodes complete
[roslaunch.pmon][INFO] 2017-10-15 15:12:40,355: registrations completed <ProcessMonitor(ProcessMonitor-1, started daemon 140433827088128)>
[roslaunch.parent][INFO] 2017-10-15 15:12:40,355: ... roslaunch parent running, waiting for process exit
[roslaunch][INFO] 2017-10-15 15:12:40,355: spin
[roslaunch][ERROR] 2017-10-15 15:12:41,560: [ptam-3] process has died [pid 25373, exit code -11, cmd /home/rjn/catkin_make_ws/src/ethzasl_ptam/ptam/bin/ptam image:=/camera/image_mono pose:=pose __name:=ptam __log:=/home/rjn/.ros/log/d01371ba-b1dc-11e7-a7ba-0028f87b9f9e/ptam-3.log].

d01371ba-b1dc-11e7-a7ba-0028f87b9f9e.tar.gz

rnunziata commented 6 years ago

OK...after recompiling now it just segfaults even on rosrun. Any idea on how to look at this kind of error .. my kingdom for a python implementation.

rosrun ptam ptam image:=/wide_stereo/left/image_rect
[ INFO] [1508205701.069258520]: starting ptam with node name /ptam
  Welcome to PTAM 
  --------------- 
  Parallel tracking and mapping for Small AR workspaces
  Copyright (C) Isis Innovation Limited 2008 

Gui is on
Segmentation fault (core dumped)

seems to a timing issue during initialization....if I hold roscore so the system has to wait then start it , it works...or it could be random too early to tell yet.