正在ubuntu18.04编译PX4的代码,解决ignition-math库报错后,重新运行make px4_sitl gazebo,出现新的报错。

...
[250/812] Generating romfs_extract.stamp
FAILED: ROMFS/romfs_extract.stamp
cd /home/lyq/github_project/PX4-Autopilot/build/px4_sitl_default/etc && /usr/bin/cmake -E remove_directory /home/lyq/github_project/PX4-Autopilot/build/px4_sitl_default/etc/* && /usr/bin/cmake -E tar xf /home/lyq/github_project/PX4-Autopilot/build/px4_sitl_default/romfs_files.tar && /usr/bin/cmake -E touch /home/lyq/github_project/PX4-Autopilot/build/px4_sitl_default/ROMFS/romfs_extract.stamp
CMake Error: cmake version 3.10.2
Usage: /usr/bin/cmake -E <command> [arguments...]
Available commands: capabilities              - Report capabilities built into cmake in JSON formatchdir dir cmd [args...]   - run command in a given directorycompare_files file1 file2 - check if file1 is same as file2copy <file>... destination  - copy files to destination (either file or directory)copy_directory <dir>... destination   - copy content of <dir>... directories to 'destination' directorycopy_if_different <file>... destination  - copy files if it has changedecho [<string>...]        - displays arguments as textecho_append [<string>...] - displays arguments as text but no new lineenv [--unset=NAME]... [NAME=VALUE]... COMMAND [ARG]...- run command in a modified environmentenvironment               - display the current environmentmake_directory <dir>...   - create parent and <dir> directoriesmd5sum <file>...          - create MD5 checksum of filessha1sum <file>...         - create SHA1 checksum of filessha224sum <file>...       - create SHA224 checksum of filessha256sum <file>...       - create SHA256 checksum of filessha384sum <file>...       - create SHA384 checksum of filessha512sum <file>...       - create SHA512 checksum of filesremove [-f] <file>...     - remove the file(s), use -f to force itremove_directory dir      - remove a directory and its contentsrename oldname newname    - rename a file or directory (on one volume)server                    - start cmake in server modesleep <number>...         - sleep for given number of secondstar [cxt][vf][zjJ] file.tar [file/dir1 file/dir2 ...]- create or extract a tar or zip archivetime command [args...]    - run command and return elapsed timetouch file                - touch a file.touch_nocreate file       - touch a file but do not create it.
Available on UNIX only:create_symlink old new    - create a symbolic link new -> old

[253/812] Building CXX object src/lib/….CMakeFiles/tinybson.dir/tinybson.cpp.o
ninja: build stopped: subcommand failed.
Makefile:226: recipe for target ‘px4_sitl’ failed
make: *** [px4_sitl] Error 1

运行之前另一个仿真make px4_sitl jmavsim发现运行也不了。继续往下看,

这里说大部分编译的问题是因为submodules没有正确匹配和没有完全清除编译环境。
运行上面的代码,然后重新运行make px4_sitl gazebo,能够正常运行。

PX4 SITL Gazebo 仿真时 libgazebo_multirotor_base_plugin 插件运行时出错相关推荐

  1. PX4无人机-Gazebo仿真实现移动物体的跟踪

    原文链接PX4无人机-Gazebo仿真实现移动物体的跟踪末尾有演示视频 这个学期我们有一个智能机器人系统的课设,我们组分配到的题目是<仿真环境下使用无人机及相机跟踪移动物体>,本文主要记录 ...

  2. vc++编译时没有问题,运行时出现runtime error的解决办法

    最近我遇到一个问题就是vc++编译时没有问题,运行时出现runtime error 就是这个提示! 怎么解决呢?很简单,仔细检查你的代码就行了,出现这种情况一般都是代码有误,有人会说那为什么编译没问题 ...

  3. 编译时异常与运行时异常

    在实际开发中,经常会在程序编译时产生一些异常,必须要对这些异常进行处理,这种异常称为编译时异常,也称为checked异常.另外,还有一种异常是在程序运行时产生的,这种异常即使不编写异常处理代码,依然可 ...

  4. Java-编译时类型与运行时类型

    编译时类型与运行时类型 在Java编程语言中的许多对象都是存在具有父子类型关系的.因为子类也可以理解成另类的一种父类(例如小明是一个学生类 但是他也可以是一个人类)因此在java中是允许父类引用类型指 ...

  5. Android 12.0首次开机默认授予app运行时权限(去掉运行时授权弹窗)

    目录 1.概述 2.首次开机默认授予app运行时权限(去掉运行时授权弹窗)的解决方案的核心类

  6. 使用xbox游戏手柄控制PX4的gazebo仿真

    文章目录 QGroundControl支持的Joysticks QGroundControl设置Joysticks(xbox) QGroundControl支持的Joysticks Sony Play ...

  7. java运行时异常与非运行时异常_java 运行时异常与非运行时异常理解

    所谓的异常就是阻止当前程序或方法继续执行的问题. java异常分为两种:运行时异常(RuntimeException)和非运行时异常(CheckedException)也叫检查式异常. 1.运行时异常 ...

  8. c检程序的公共语言运行时简称为,公共语言运行时检测到无效的程序

    [InvalidProgramException: 公共语言运行时检测到无效的程序.] ASP.default_aspx..ctor() +0 __ASP.FastObjectFactory_app_ ...

  9. 编译时多态、运行时多态

    根据何时确定执行多态方法中的哪一个,多态分为两种情况:编译时多态和运行时多态.如果在编译时能够确定执行多态方法 中的哪一个,称为编译时多态,否则称为运行时多态. 一.编译时多态        方法重载 ...

  10. 解决:flash cs5运行时出现“java运行时环境初始化时出现错误,你可能需要重装Flash”

    我安装时遇到这个问题,并已成功解决. 解决办法: 确定C:/Documents and Settings/All Users/Application Data/Adobe/CS5/jre下有相关jav ...

最新文章

  1. 《告别失控:软件开发团队管理必读》一一2.6 代系特点
  2. Web前端求职时都会被问到的Redis面试题分享
  3. iOS 从相机或相册获取图片并裁剪
  4. 基本的Windows相关的DOS命令
  5. mongoose 执行删除操作的坑
  6. vb6.0 生成exe被简称是木马_使用MSF渗透框架生成PHP木马并实现控制远程服务器
  7. linux离线安装httpd服务,Linux系列之离线安装Apache HTTP
  8. USACO 1.5 Number Triangles
  9. robotframework-selenium2library-导入可选参数
  10. 火焰识别python_OpenCV_火焰检测——完整代码
  11. 终于!疫情之下,第一批企业没能熬住面临倒闭,员工被遣散,没能等来春暖花开!
  12. 【openGL2021版】链接FBX模型库
  13. ROS节点运行管理launch文件
  14. 服务器许可证书,lic-auth: 基于Spring的项目中使用 `TrueLicense `生成和验证`License证书`(服务器许可)的示例代码...
  15. React 项目兼容低版本浏览器
  16. Aleo提高高算力的解决方法(精选)
  17. android系统电视升级包下载地址,海美迪HD600A四代官方固件ROM升级包下载_升级教程...
  18. day - 8 作业
  19. win7,win8,win10环境下如何使用dnw!
  20. 搏一搏 单车变摩托,是时候捣鼓一下家中的小米电视机啦。

热门文章

  1. BZOJ 1030 [JSOI2007]文本生成器(ac自动机+dp)
  2. iOS 25个性能优化/内存优化常用方法
  3. ehcache讲解及实例
  4. 非阻塞IO发送http请求
  5. javascript学习一、js的初步了解
  6. [小北De编程手记] : Lesson 01 玩转 xUnit.Net 之 概述
  7. [转]CSS3 Media Query实现响应布局
  8. 综述 | 注意力机制
  9. 分享两本高质量算法书籍
  10. 【论文串讲】从BERT和XLNet到MPNet