Ubuntu18.04配置PX4编译环境

最近尝试使用Ubuntu18.04重新配置了一下PX4编译环境,
http://dev.px4.io/master/en/setup/dev_env_linux_ubuntu.html
跟着官网走,非常简单。

1. 运行ubuntu_sim_ros_melodic.sh脚本

该脚本会为你安装ros_melodic以及mavros等等。两步走:
Download the script in a bash shell:

wget https://raw.githubusercontent.com/PX4/Devguide/master/build_scripts/ubuntu_sim_ros_melodic.sh

Run the script:

bash ubuntu_sim_ros_melodic.sh

在运行此脚本的时候正常下载都没问题,在编译catkin_ws工作空间的时候出现如下问题:

(1)ImportError: No module named future

此类问题简单,就没有截图,直接运行一下代码即可:

sudo pip 

你可能感兴趣的:(Linux)