问题:装完ROS_mavros后,启动mavros-px4.launch文件:roslaunch mavros px4.launch,出现如下所示的问题:
[FATAL] [1667974658.101654921]: UAS: GeographicLib exception: File not readable /usr/share/GeographicLib/geoids/egm96-5.pgm | Run install_geographiclib_dataset.sh script in order to install Geoid Model dataset!
1、到/opt/ros/noetic/share/mavros/文件夹中
2、执行 install_geographiclib_dataset.sh
3、此时的Geographiclib应该在/usr/local/share目录下
4、如果/usr/share目录下的Geographiclib是空的,则在/usr/local/share目录下输入指令sudo cp -r GeographicLib /usr/share/,即可。