m4nh / skimap_ros

Ros implementation of Skimap
GNU General Public License v3.0
267 stars 101 forks source link

SkiMap process dies in NVidia Jetson TX2 #18

Closed Mayankm96 closed 6 years ago

Mayankm96 commented 6 years ago

I am trying to use SkiMap on my Nvidia Jetson TX2 board to create a map using the zed camera. I modified the launch file skimap_live.launch according to my needs, however, when I run the launch file, I get the following error:

nvidia@tegra-ubuntu:/data/code/fount_landing/fount_ws/src/fount_slam/launch$ roslaunch zed_skimap_live_test.launch 
... logging to /home/nvidia/.ros/log/ab5e87d2-3fef-11e8-8608-00044b8d1201/roslaunch-tegra-ubuntu-13970.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://tegra-ubuntu:41535/

SUMMARY
========

PARAMETERS
 * /rosdistro: kinetic
 * /rosversion: 1.12.13
 * /skimap_live/agent_height: 5
 * /skimap_live/base_frame_name: odom
 * /skimap_live/camera_depth_topic: /depth/depth_regi...
 * /skimap_live/camera_frame_name: zed_left_camera
 * /skimap_live/camera_rgb_topic: /left/image_rect_...
 * /skimap_live/chisel_step: 30
 * /skimap_live/enable_chisel: False
 * /skimap_live/ground_level: 1.5
 * /skimap_live/height_color: True
 * /skimap_live/hz: 0.5
 * /skimap_live/map_resolution: 0.02
 * /skimap_live/min_voxel_weight: 10
 * /skimap_live/point_cloud_downscale: 1

NODES
  /
    rviz (rviz/rviz)
    skimap_live (skimap_ros/skimap_live)

ROS_MASTER_URI=http://localhost:11311

process[skimap_live-1]: started with pid [14014]
process[rviz-2]: started with pid [14015]
[ INFO] [1523715936.304001826]: rviz version 1.12.15
[ INFO] [1523715936.304148546]: compiled against Qt version 5.5.1
[ INFO] [1523715936.304220354]: compiled against OGRE version 1.9.0 (Ghadamon)
[ INFO] [1523715937.294223684]: Stereo is NOT SUPPORTED
[ INFO] [1523715937.294670243]: OpenGl version: 4.5 (GLSL 4.5).
*** stack smashing detected ***: /data/code/fount_landing/fount_ws/devel/lib/skimap_ros/skimap_live terminated
[skimap_live-1] process has died [pid 14014, exit code -6, cmd /data/code/fount_landing/fount_ws/devel/lib/skimap_ros/skimap_live __name:=skimap_live __log:=/home/nvidia/.ros/log/ab5e87d2-3fef-11e8-8608-00044b8d1201/skimap_live-1.log].
log file: /home/nvidia/.ros/log/ab5e87d2-3fef-11e8-8608-00044b8d1201/skimap_live-1*.log

It would be great if someone could help me out in identifying the possible sources for this error and plausible solutions for it.

m4nh commented 6 years ago

@Mayankm96 hi! It's hard to read this log because it hides useful informations about the real "skimap_live" node.. could you try to run the node directly with "rosrun skimap_ros skimap_live"? (with your node parameters directly typed in command line..)

Or eventually check if in the abovementioned log file: ..."/home/nvidia/.ros/log/ab5e87d2-3fef-11e8-8608-00044b8d1201/skimap_live-1*.log" ... is there a more verbose cue