ubuntu18.04对应的jmavsim
时间: 2023-07-12 13:57:20 浏览: 145
jmavsim是PX4飞控的仿真软件,不是Ubuntu操作系统的软件。在Ubuntu 18.04上可以使用jmavsim进行PX4飞控的仿真。你可以通过在终端中输入以下命令来安装PX4飞控和jmavsim:
```
sudo add-apt-repository ppa:george-edison55/cmake-3.x
sudo apt-get update
sudo apt-get install git zip qtcreator cmake build-essential genromfs ninja-build exiftool ant protobuf-compiler libeigen3-dev libopencv-dev openjdk-8-jdk openjdk-8-jre clang-format-3.9 python-serial python-toml python-empy python-numpy python-pexpect liblua5.3-dev libgstreamer1.0-dev gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav libgstreamer-plugins-base1.0-dev xterm
git clone https://github.com/PX4/PX4-Autopilot.git --recursive
cd PX4-Autopilot
make px4_sitl_default jmavsim
```
这将安装必要的依赖项,并在PX4-Autopilot目录中编译PX4飞控和jmavsim。接下来,你可以通过运行以下命令来启动jmavsim仿真:
```
cd PX4-Autopilot
make px4_sitl jmavsim
```
请注意,这可能需要一些时间来下载和编译必要的文件。
阅读全文