Pooja71 / Visual-SLAM-using-Stereo-Camera-for-Autonomous-Vehicles

Indoor/Outdoor SLAM using Stereo Vision. This project used ORB_SLAM2 with ZED stereo camera to achieve the task of SLAM and has a custom 2D occupancy grid mapping algorithm using depth.
58 stars 31 forks source link

Seg fault when running the application #1

Open ashnarayan13 opened 6 years ago

ashnarayan13 commented 6 years ago

Hi,

I was testing the package for the occupancy grid generation. But I get a seg fault when I start the rosbag.

I just changed the topic names and the camera calibration parameters. The ORBSLAM visualization starts with the first frame and then there is a seg fault.

`Camera Parameters:

ORB Extractor Parameters:

Depth Threshold (Close/Far Points): 4.80696 New map created with 102 points Segmentation fault (core dumped)`

Additionally, the rosrun tf static_transform_publisher 0 0 0 0 0 0 map ORB_SLAM/odom gives the following error [ERROR] [1521720489.728266546]: static_transform_publisher exited due to not having the right number of arguments Is this because of the frame_id mismatch?

Any leads would be helpful,

Thanks

27Apoorva commented 6 years ago

Hi. I think the way you are calling the static transform publisher is wrong. It should take a frame rate also in the end. Try running rosrun tf static_transform_publisher 0 0 0 0 0 0 0 map ORB_SLAM/odom 10