ardupilot
彩云的笔记
一起编程去!!
展开
-
px4 amov
rosdep。原创 2022-11-22 10:46:48 · 108 阅读 · 0 评论 -
PX4固件编译问题region `flash‘ overflowed by 4253 bytes
Memory region Used Size Region Size %age Used flash: 1036445 B 1008 KB 100.41% sram: 25428 B 192 KB 12.93% ccsram: 0 GB 64 KB 0.00%/usr/bin/../lib/gcc/arm-none-eab...原创 2021-11-23 15:43:42 · 1167 阅读 · 0 评论 -
mavlink c 编码解码demo
#include "common/mavlink.h"#include "common/mavlink_msg_local_position_ned.h"#include "common/mavlink_msg_sys_status.h"#define BUFFER_LENGTH \ 2041 // minimum buffer size that can be used with..原创 2021-11-12 15:12:52 · 977 阅读 · 0 评论 -
2021-08-04 编译PX4固件遇到错误
Found GStreamer: adding gst_video_stream_widgetCMake Error: The following variables are used in this project, but they are set to NOTFOUND.Please set them or make sure they are set and tested correctly in the CMake files:GSTREAMER_LIBRARIES (ADVANCED)原创 2021-08-04 15:09:07 · 345 阅读 · 0 评论 -
apm添加自定义参数
Adding a New Parameter to CopterParameters can either be part of the main code or part of a library.Adding a parameter to the main codeStep #1:Find a spare slot in the Parameters class’s enum inParameters.hand add your new parameter as shown b...转载 2021-06-24 10:05:54 · 538 阅读 · 0 评论 -
apm 固件发送mavlink信息给上位机
固件代码mavlink_msg_position_target_local_ned_send(MAVLINK_COMM_0,//chanAP_HAL::millis(), // time boot msMAV_FRAME_LOCAL_NED,0,1, // x in metres2, // y in metres3, // z in metres NED frame4, // vx in m/s5, // vy in m/s6666, // vz in m/s N原创 2021-06-10 11:45:31 · 343 阅读 · 0 评论 -
signatures were invalid: KEYEXPIRED
W: Failed to fetch http://mirrors.ustc.edu.cn/ros/ubuntu/dists/xenial/InRelease The following signatures were invalid: KEYEXPIRED 1622248854E: Failed to fetch http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/dists/xenial/main/binary-amd64/Packages 40..原创 2021-06-02 16:01:31 · 1198 阅读 · 1 评论 -
apm ardupilot 编译
Setting up the Build Environment (Linux/Ubuntu)This article shows how to setup your build environment on Linux/Ubuntu machines.Setup on UbuntuGet gitGit is a free and open source distributed version control system that is used to manage ArduPilot c转载 2021-06-02 14:37:29 · 395 阅读 · 0 评论 -
arducopter ardupilot 获得模式
#!/usr/bin/python# -*- coding: UTF-8 -*-from pymavlink import mavutil,mavwpimport rospyimport timeimport sysimport rospyclass demo: def __init__(self,takeoff_height=3): self.mcd=None self.getjoy= False self.master = mav.原创 2021-05-08 11:22:54 · 303 阅读 · 0 评论 -
copter 参数 选择是几轴
https://ardupilot.org/copter/docs/parameters.html#frame-class原创 2020-06-21 11:13:45 · 197 阅读 · 0 评论 -
precland companion
将landing_target 转为指向目标的单位向量irlock指向目标的单位向量原创 2021-03-31 14:51:19 · 196 阅读 · 2 评论 -
ardupilot rover ardurover 电机相关源码 PreArm servo function 33 unassigned
将frame_class 设置为Roverframe_type 相关源码Apmrover2/AP_MotorsUGV.cppservofunctionhttps://ardupilot.org/rover/docs/rover-motor-and-servo-connections.htmlSERVO1_FUNCTION= 73 (Throttle Left) SERVO3_FUNCTION= 74 (Throttle Right) https://ardupilot.org/...原创 2021-02-20 17:08:39 · 744 阅读 · 0 评论 -
gazebo iris 无人机添加激光 hokuyo
原创 2021-02-08 16:02:43 · 341 阅读 · 0 评论 -
ardupilot irlock 精准降落的源码及问题纪录
AC_PrecLandAP_IRLockprecision_landing.cpp27行原创 2021-01-18 15:21:03 · 660 阅读 · 0 评论 -
gazebo publish pose
在GimbalSmall2dPlugin.cc 基础上修改origin https://github.com/khancyr/ardupilot_gazebo (fetch) public: transport::PublisherPtr pub,posepub; this->dataPtr->posepub = this->dataPtr->node->Advertise<gazebo::msgs::Pose>(std::stri...原创 2020-11-13 15:46:24 · 406 阅读 · 0 评论 -
mission planner日志分析
通过USB连接pixhawk, 打missionplanner,选择需要的日志下载,下载很慢,慢慢等。原创 2020-08-04 16:28:31 · 2169 阅读 · 0 评论 -
ardupilot_gazebo多机仿真
https://ardupilot.org/dev/docs/using-gazebo-simulator-with-sitl.htmlhttps://blog.csdn.net/CAIYUNFREEDOM/article/details/106081124https://blog.csdn.net/weixin_33904756/article/details/93617723Multi-Vehicle simulationThis section explains how t..原创 2020-07-27 14:22:50 · 444 阅读 · 0 评论 -
不使用pymavlink , python打包mavlink协议
from struct import pack , unpackfrom builtins import objectdef checksum(data, extra): # https://github.com/mavlink/c_library_v1/blob/master/checksum.h output = 0xFFFF for i in range(len(data)): tmp = data[i] ^ (output & 0xFF) .原创 2020-07-22 15:52:51 · 767 阅读 · 0 评论 -
pixy cmucam5接线图
原创 2020-07-22 09:09:36 · 372 阅读 · 0 评论 -
openmv 引导无人机飞行
http://www.nufeichuiyun.com/?p=307修改arducopter源码,在Guided模式下,如果OpenMV有引导数据过来,就将目标航点设置为识别点,从而飞机将自动飞向目标点 mode_guided.set_destination(target, false, 0, true, 0, false);https://github.com/nufeichuiyun/ardupilot/blob/TestOpenMV_p/ArduCopter/ArduCopter.cpp.原创 2020-07-21 17:09:59 · 1479 阅读 · 0 评论 -
飞控有用的教程网址集合
http://doc.cuav.net/tutorial/copter/flight-modes/land.htmlhttp://uav.ncnynl.com/archives/201604/27.htmlhttp://pix.1yuav.com/?tdsourcetag=s_pcqq_aiomsg原创 2020-07-20 11:53:30 · 266 阅读 · 0 评论 -
mission planner遥控器通道配置
原创 2020-07-07 09:36:23 · 2716 阅读 · 0 评论 -
openmv aprltag arducopter landing_target
https://book.openmv.cc/example/18-MAVLink/mavlink-apriltags-landing-target.htmlhttps://mavlink.io/en/messages/common.html#mav_commandshttps://mavlink.io/en/messages/common.html#LANDING_TARGET# 无人机通过mavlink实现apriltag定点降落例程## 这个脚本使用MAVLi..原创 2020-07-02 09:43:43 · 966 阅读 · 2 评论 -
irlock markone pixy
https://irlock.readme.io/docs/1-sensor-firmware-softwarewww.jingliankeji.comhttp://www.jingliankeji.cn/2018/05/optorstudy1/https://irlock.readme.io/docs/firmwaresoftware-linksPixmon 1.0.2hex 1.0.1原创 2020-06-24 11:20:16 · 324 阅读 · 0 评论 -
waf
./waf configure --board=Pixhawk1./waf configure --board fmuv5./waf build --target examples/INS_generic --upload./waf list | grep 'examples'./waf copter原创 2020-06-22 08:59:22 · 233 阅读 · 0 评论 -
mavlink manual_control_send
manual_control_send(self, target, x, y, z, r, buttons, force_mavlink1=False) method of pymavlink.dialects.v10.ardupilotmega.MAVLink instance This message provides an API for manually controlling the vehicle using standard joystick axes nomenclatur.原创 2020-06-16 15:16:43 · 625 阅读 · 0 评论