-
Notifications
You must be signed in to change notification settings - Fork 427
Trouble Shoot
QI_SYSU_pc edited this page May 5, 2021
·
8 revisions
Q:sudo rosdep init 失败
A:https://www.guyuehome.com/12640
Q: 编译仿真模块时,提示找不到<sdf/sdf.hh>
A: ① 确认系统是否含有sdf库
$ cd /usr/include/sdformat-6.2/sdf
如果能正常进入该文件夹,则说明系统是含有sdf库的.但在编译的时候检索不到该库.执行第二个步骤
② 手动添加sdf库文件路径
打开位于/Prometheus/Simulator/gazebo_simulator文件夹下的CMakeLists.txt文件,
将include_directories()部分的# /usr/include/sdformat-6.2接触注释再进行编译.
感谢使用Prometheus自主无人机软件平台!