当前位置:网站首页>Px4 control mode summary
Px4 control mode summary
2022-06-30 06:20:00 【Smoking hot】

Flow chart of attitude control , The outer ring produces an angular rate , The inner ring produces the desired acceleration ( Motor thrust ).
The outer ring is positioned according to the desired position 、 Speed , Calculate and output the corresponding attitude information .
The attitude information output by the outer loop is used as the input of the inner loop , The inner loop calculates the desired acceleration .
ROS-mavros-PX4 Acceleration control
The original input of the flight control algorithm to be written is roll、pitch And propulsion , because PX4 It is not supported to input specific propulsion force , Use three-way acceleration ( The rotation matrix can be used for transformation ) Control . however PX4 Of setpoint_accel The actual control effect is very poor ,github Some people say it is not available .
Solution : Refer to the... Of amu laboratory px4_command, Use attitude Output , For personal use cascade pid, To calculate the throttle Convert to attitude, Other methods in the project are basically accel->thurst->throttle->attitude, There are conversion functions for these quantities in the project . I have tried directly to ( Single value ) The propulsion force is converted into the throttle as a function , But it failed , Maybe not PID closed loop , It may also be that you don't understand one-way / Three directions thrust The specific meaning of ?
PX4 Control assignment in
Generally speaking , The control of rotary wing UAV is divided into Position loop control + Attitude loop control Two parts :
- Position ring input
- Set quantity : Desired position 、 Expected speed 、 Expected acceleration, etc
- State quantity : The current position 、 Current speed
- Position ring output
- Desired attitude angle (roll + pitch)、 Desired lift
- Attitude loop input
- Set quantity : Desired attitude angle (roll + pitch + yaw)、 Desired lift
- State quantity : Current attitude angle 、 Current angular velocity
- Attitude loop output
- Expected torque (Mx、My、Mz)、 Desired lift (T)
边栏推荐
- Uniapp wechat applet returns to the previous page and refreshes
- Use and principle of completionservice (source code analysis)
- Mariadb数据库的安装与初始化
- Common mistakes daily practice 01
- How does Altium designer hide some temporarily unnecessary classes, such as GND
- Rhcsa day 1
- ES6箭头函数
- ES6数组遍历与ES5数组遍历
- Picture.....
- Notes of the first week of 2021 Chengdu Arts and Sciences cloud computing intensive training class
猜你喜欢

Unable to access the Internet at win10 /11 hotspot

Intelligent question - horse racing question

Analysis of startup process of gazebo multi computer simulation

关于Glide加载图片模糊不清楚

Loading class `com. mysql. jdbc. Driver‘. This is deprecated. The new driver class is `com. mysql. cj. jdb

Strlen and sizeof, array length and string length, don't be silly

Installation and initialization of MariaDB database

IO streams (common streams)

JS prototype chain object function relationship

Prototype and prototype chain in JS
随机推荐
Résoudre le problème de décompiler la compilation normale
Use and principle of completionservice (source code analysis)
Vscode configuration proxy
Spin official tutorial
Centos8 install redis
Idea add database
一个完整的性能测试流程
Potential bottleneck of redis
Rhcsa day 1
MySQL advanced SQL statement
PHP knowledge points
Master slave synchronization of MySQL database to realize read-write separation
Common NPM install errors
重构之美:当多线程批处理任务挑起大梁 - 万能脚手架
股票在网上开户安全吗?在网上能不能开户炒股呢?
Develop stylelint rules from zero (plug-ins)
ES6解构赋值
SHELL
多线程进阶篇
IP TCP UDP network encryption suite format