zed_wrapper node Segmentation fault(core dumped)

asked 2017-08-10 01:21:44 -0500

wngywo12 gravatar image

updated 2017-08-15 13:38:23 -0500

matlabbe gravatar image

when i do tutorial RGB-D Hand-Held Mapping, i entered following commads

$ roscore
$ export ROS_NAMESPACE=camera
$ rosrun zed_wrapper zed_wrapper_node _confidence:=100
$ rosrun tf static_transform_publisher 0 0 0 -1.5707963267948966 0 -1.5707963267948966 camera_link zed_initial_frame 100
$ rosrun tf static_transform_publisher 0 0 0 0 0 0 zed_current_frame ZED_left_camera  100
$ roslaunch rtabmap_ros rtabmap.launch rtabmap_args:="--delete_db_on_start" depth_topic:=/camera/depth/depth_registered approx_sync:=false
$ roslaunch rtabmap_ros rtabmap.launch rtabmap_args:="--delete_db_on_start" rviz:=true rtabmapviz:=false

The problem is that when i entered commad 5, the terminal that running zed_wrapper_node is exit, printing Segmentation fault(core dumped).

I installed all thing needed to run rtabmap and zed without error, such as openCV(3.1), CUDA(8.0), Point Cloud Library and so on.

please help me:(

edit retag flag offensive close merge delete

Comments

Can you build a debug version of the node and show the backtrace? It might be helpful to diagnose the issue.

allenh1 gravatar imageallenh1 ( 2017-08-10 12:56:38 -0500 )edit

What computer are you running ROS on?

shoemakerlevy9 gravatar imageshoemakerlevy9 ( 2017-08-11 10:20:26 -0500 )edit

I'm using jetson tx2

wngywo12 gravatar imagewngywo12 ( 2017-08-13 20:19:01 -0500 )edit

It looks like if a node subscribes to zed topics, the zed camera driver crashes. Are you able to just start zed wrapper node and launch rviz to show data? About rtabmap.launch above, start only one rtabmap.launch...

matlabbe gravatar imagematlabbe ( 2017-08-15 13:36:38 -0500 )edit

roslaunch rtabmap_ros rtabmap.launch rtabmap_args:="--delete_db_on_start" depth_topic:=/camera/depth/depth_registered approx_sync:=false rviz:=true rtabmapviz:=false

matlabbe gravatar imagematlabbe ( 2017-08-15 13:36:54 -0500 )edit