thien94 / orb_slam3_ros

A ROS implementation of ORB_SLAM3
GNU General Public License v3.0
261 stars 81 forks source link

ERROR: Unable to load type [orb_slam3_ros/SaveMap]. #11

Open xuyuteng1 opened 1 year ago

xuyuteng1 commented 1 year ago

when I type rosservice call /orb_slam3/save_traj traj it shows:

ERROR: Unable to load type [orb_slam3_ros/SaveMap]. Have you typed 'make' in [orb_slam3_ros]?

did I miss making some packages?

NakashimaTakeshi commented 1 year ago

The ros setup may not have been completed correctly. Have you tried source ./devel/setup.bash in the catkin_ws directory?

xuyuteng1 commented 1 year ago

thanks for your reply, I did the source ./devel/setup.bash otherwise I can not run the whole code. The second question is the code always breaks in half way, I play the rosbag, the dataset-corridor1_512_16.bag, and it always breaks at about 100s, shows exit code -11,and no meaningful information, the same thing happened when I run the official ros version, the code also breaks at about 100s. Both questions confused me a lot.