![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
px4
蒙面狸
这个作者很懒,什么都没留下…
展开
-
px4编译
如果下载速度特别慢,可以使用手机的4G网络 位置确定 mkdir -p ~/src cd ~/src 开始下载指定版本的px4,在这里是v1.7.0版本 git clone -b v1.7.0 https://github.com/PX4/Firmware.git 添加子模块: cd Firmware git submodule init git submodule update --ini...原创 2019-05-20 14:43:20 · 1997 阅读 · 1 评论 -
ubuntu18.04-LTS搭建PX4编译环境
安装python、git、qt sudo apt-get install python-argparse git-core wget zip \ python-empy qtcreator cmake build-essential genromfs -y 安装仿真软件和需要的库文件,注意体验下面两句的区别(一句代码后有 -y ,一句没有) 1. sudo apt-get instal...原创 2019-05-30 10:46:49 · 4361 阅读 · 0 评论 -
px4源码(inertial_filter.cpp)
#include "px4_defines.h" #include "inertial_filter.h" #include <cmath> //惯性滤波预测 void inertial_filter_predict(float dt, float x[2], float acc) { if (PX4_ISFINITE(dt)) { if (!PX4_ISFINITE(acc)...原创 2019-05-31 19:41:10 · 386 阅读 · 0 评论 -
px4源码----位置估算(position_estimator_inav_params.h)
#pragma once #include <parameters/param.h> struct position_estimator_inav_params { float w_z_baro; //权重 z轴 气压计位置 0.5 float w_z_gps_p; //权重 z轴 GPS位置 0.005f ...原创 2019-05-31 21:13:35 · 724 阅读 · 0 评论