Coder Social home page Coder Social logo

Comments (12)

dongdongbh avatar dongdongbh commented on August 23, 2024 1

roll = (des_acc(0) * sin - des_acc(1) * cos )/ param_.gra;
pitch = (des_acc(0) * cos + des_acc(1) * sin )/ param_.gra;

我大概理解这两行并不是直接按微分平坦算的,而是在算外环(位置速度反馈和加速度前馈)的给内环串级控制的输入,这里实际上应该是把航向旋转影响消除后应该给内环的输入(实际上是外环输出通过旋转航向投影到pitch和roll轴以便姿态控制)。应该是这个矩阵image乘以[a0, a1, a2]。
这里gamma是航向角,不过我推出来roll = ( des_acc(1) * cos-des_acc(0) * sin ) ,roll和作者的方向相反,可能这里和roll的方向定义有关?

这里除以重力实际上应该是一种简单有点粗暴的归一化(反正有PID)参数,所以都无所谓的。具体还请作者指正。

另外关于Recursive least squares algorithm with vanishing memory

P_ = (1 - K * thr) * P_ / rho2_;

为什么要除 rho2_,原始的Recursive least squares algorithm这里似乎不需要除

image

from fast-drone-250.

dongdongbh avatar dongdongbh commented on August 23, 2024 1

@FaboNo Recursive Least Squares Method

from fast-drone-250.

dongdongbh avatar dongdongbh commented on August 23, 2024 1

debug_msg_只是为了debug方便而发布的topic,最终油门和姿态给了飞控,控制是位置和速度的P控制外加加速度前馈给到姿态控制器做串级

from fast-drone-250.

FaboNo avatar FaboNo commented on August 23, 2024

@dongdongbh the equations are coming from which paper?
方程式来自哪篇论文?

from fast-drone-250.

Nikanbaturu avatar Nikanbaturu commented on August 23, 2024

@dongdongbh 您好!请问可以把controller理解为位置控制器吗?而且没太看懂对debug_msg_赋值的意义,是为了存储计算得到的期望值将其作为内级控制器的输入吗?

from fast-drone-250.

Nikanbaturu avatar Nikanbaturu commented on August 23, 2024

@dongdongbh 感谢您的回答,那controller这部分的位置控制算法是否可以替换成其他的呢?

from fast-drone-250.

dongdongbh avatar dongdongbh commented on August 23, 2024

可以

from fast-drone-250.

dongdongbh avatar dongdongbh commented on August 23, 2024

Finally understand it by reading their PPT
image
这里实际上用了小角度假设, 所以理论上还是SE3控制好一些,具体可参考

Minimum snap trajectory generation and control for quadrotors

from fast-drone-250.

FaboNo avatar FaboNo commented on August 23, 2024

@dongdongbh oh very interesting, where did you find the ppt?

from fast-drone-250.

dongdongbh avatar dongdongbh commented on August 23, 2024

Here is a video with this ppt talking about these stuff, but in Chinese.

from fast-drone-250.

karjalv avatar karjalv commented on August 23, 2024

另外关于Recursive least squares algorithm with vanishing memory

P_ = (1 - K * thr) * P_ / rho2_;

为什么要除 rho2_,原始的Recursive least squares algorithm这里似乎不需要除

image

@dongdongbh Have you found any reason for this division with rho2_ ? I've been wondering the same thing.

from fast-drone-250.

bulingda avatar bulingda commented on August 23, 2024

另外关于Recursive least squares algorithm with vanishing memory

P_ = (1 - K * thr) * P_ / rho2_;

为什么要除 rho2_,原始的Recursive least squares algorithm这里似乎不需要除
image

@dongdongbh Have you found any reason for this division with rho2_ ? I've been wondering the same thing.

Hello, do you understand the meaning of this formula?

from fast-drone-250.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.