我刚刚意识到,如果指定标志“--no-sim-tools”,则不会安装某些软件包:
gstreamer1.0-plugins-bad
gstreamer1.0-plugins-base
gstreamer1.0-plugins-good
gstreamer1.0-plugins-ugly
gstreamer1.0-libav
libeigen3-dev
libgstreamer-plugins-base1.0-dev
libimage-exiftool-perl
libopencv-dev
libxml2-utils
pkg-config
protobuf-compiler \如果您安装了凉亭,并在运行工具链脚本时指定了标志“--no-sim-tools”,则应手动安装上面列出的依赖项。
不确定这是否是正确的方法,但它对我有用。、】
、
docker run -it --rm ubuntu:20.04
apt update
apt install git -y
git clone https://github.com/PX4/PX4-Autopilot.git --recursive
bash ./PX4-Autopilot/Tools/setup/ubuntu.sh
cd PX4-Autopilot
make px4_sitl gazebo-classic