# MAVProxyFormation **Repository Path**: jyl58/MAVProxyFormation ## Basic Information - **Project Name**: MAVProxyFormation - **Description**: 用于编队通信的mavproxy版本 - **Primary Language**: Python - **License**: GPL-3.0 - **Default Branch**: MavProxy-jyl - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2020-12-18 - **Last Updated**: 2024-02-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 该分支用于JP的编队控制项目 用于formation 控制支持的安装方法 安装说明 1.安装python-dev sudo apt-get install python-dev python-pip 2.安装依赖库 sudo apt-get install libglib2.0-dev 3.安装lcm 通信库 step1: git clone https://gitee.com/jyl58/lcm.git step2: cd your_path/lcm/lcm_python step3: sudo python setup.py install 4.安装mavproxy step1:git clone https://gitee.com/jyl58/MAVProxyFormation.git step2: cd your_path/MAVProxyFormation/ step3: git submodule update --init --recursive step4: sudo python setup.py install 注:如果之前已安装过mavproxy 需要先卸载,pip list 查看,pip uninstall mavproxy 卸载 注:此过程安装需要多个依赖库,如果下载失败,请重新尝试步骤2) 或者单独安装依赖库之后再尝试步骤2) 自启动说明: 1)将your_path/MAVProxyFormation/auto_run.sh添加可执行权限。方法: chmod 777 your_path/MAVProxyFormation/auto_run.sh 2)安装screen 软件,方法: sudo apt-get install screen 3)再/etc/rc.lcoal 的exit 0 之前添加 /your_path/MAVProxyFormation/auto_run.sh 例如如果再树莓派/home/pi/MAVProxyFormation/auto_run.sh 注:auto_run.sh 内 ”--master=串口,波特率“ 需要根据实际的串口和波特率来改写,默认用的是--master=/dev/ttyACM0,115200