gaoxiang12 / slam_in_autonomous_driving

《自动驾驶中的SLAM技术》对应开源代码
1.76k stars 430 forks source link

有人使用Qt跑第6章含有rosbag程序遇到我这样的问题了吗? #133

Open teachermaDSM opened 6 months ago

teachermaDSM commented 6 months ago

使用qt直接运行的时候由于没有source /opt/ros/melodic/setup.bash,运行带有rosbag的包会报错; [rospack] Error: package 'rosbag_storage' not found [librospack]: error while executing command terminate called after throwing an instance of 'pluginlib::ClassLoaderException' what(): Unable to find package: rosbag_storage 请问这个该如何解决? ps:在自己的终端中直接./bin/test_lidar_io没有问题

teachermaDSM commented 6 months ago

由于想查看有些变量的变化,需要使用Qt进行Debug,因此请教大家如何配置QtCreator才可以解决该问题。。。 高翔老师救命!