Update README

This commit is contained in:
XinfangZhang 2023-08-02 09:45:09 +08:00
parent 37ced5d3df
commit 433e23fa4d
2 changed files with 3 additions and 5 deletions

2
.gitignore vendored
View File

@ -16,7 +16,7 @@ bin-release/
Blimp-Autopilot-Ascend/devel/
Blimp-Autopilot-Ascend/build/
.vscode/
# Project files, i.e. `.project`, `.actionScriptProperties` and `.flexProperties`
# should NOT be excluded as they contain compiler settings and other important

View File

@ -24,11 +24,9 @@
此工程中包括mavros但对其中一个文件vision_pose_estimate.cpp做了修改编译此工程即可提供mavros相关功能。
直接源码编译安装mavros可能会出现与mavlink相关的依赖问题可以先直接二进制安装mavros让其自动解决相关依赖问题再编译此工程在编译完成后source此工程devel目录下的setup.bash通过环境变量的改变使得运行roslaunch mavros时启动的是此工程中的mavros而非二进制安装的原版。
二进制安装mavros的方式为
mavros依赖mavlink二进制安装mavlink的方式为
```
sudo apt-get install ros-noetic-mavros
sudo apt-get install ros-noetic-mavlink
```
安装完成之后使用`rospackage list`查看是否已经有mavlink