当前位置:网站首页>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)
边栏推荐
- Prototype and prototype chain in JS
- Idea add database
- MySQL log management, data backup and recovery
- 反編譯正常回編譯出現問題自己解决辦法
- Simple example of class template
- Intelligent question - horse racing question
- Uniapp wechat applet returns to the previous page and refreshes
- MySQL advanced SQL statement
- Data read / write: realize data read / write function based on C # script in unity
- Go common judgments
猜你喜欢

Using C language pure for loop to implement ilovey

Image processing 7- image enhancement

Base64详解:玩转图片Base64编码

Develop stylelint rules from zero (plug-ins)

接口中方法详解

圖像處理7-圖像增强
![[OSPF] comparison between rip and OSPF](/img/72/00e3a05bc5de0e5a66b4675d030911.jpg)
[OSPF] comparison between rip and OSPF

飞升:基于中文分词器IK-2种自定义热词分词器构建方式showcase & 排坑showtime

To: k210 realizes face recognition (code interpretation attached)

Learn fpga---ram IP core and key parameters from the bottom structure
随机推荐
Talking about the struct of go
Summation of basic exercise sequence of test questions
Data read / write: realize data read / write function based on C # script in unity
ES6扩展运算符(...)
INI analyse les documents d'apprentissage
Base64 explanation: playing with pictures Base64 encoding
[OSPF] comparison between rip and OSPF
IO stream (file class introduction)
Application of redis client list in practice
Several commands not commonly used in MySQL
Static routing job
583. 两个字符串的删除操作-动态规划
Docker is equipped with the latest MySQL image
Loading class `com. mysql. jdbc. Driver‘. This is deprecated. The new driver class is `com. mysql. cj. jdb
Installation and initialization of MariaDB database
880. 索引处的解码字符串
Unable to access the Internet at win10 /11 hotspot
Es6数组
Completabilefuture: from understanding to mastering, here are all you want to know
A small template (an abstract class, a complete process is written in a method, the uncertain part is written in the abstract method, and then the subclass inherits the abstract class, and the subclas