完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友

|
在“烤四轴”的时候(暂时先不考虑Yaw),先调内环后调外环时,需要分别调试Roll和Pitch(分别沿X轴和Y轴单独调四轴),在调试这两个角度的时候(分开调,先调Roll后调Pitch或者先调Pitch后调Roll),是否要屏蔽另一个角度,既通过PID得到的值转换成PWM给电机时,是否只考虑“Motor=油门+当前调试角度得到的值”?
举例:当四轴调好时,各个电机得到的PWM应该是这样的: Motor1=Thr - out_roll - out_pitch - out_yaw; Motor2=Thr - out_roll + out_pitch + out_yaw; Motor3=Thr + out_roll + out_pitch - out_yaw; Motor4=Thr + out_roll - out_pitch + out_yaw; 那么当我单独调试内环Roll的时候,给各个电机的PWM是否应该是这样的? Motor1=Thr - out_roll; Motor2=Thr - out_roll; Motor3=Thr + out_roll; Motor4=Thr + out_roll; 单独调试Pitch的时候,给各个电机的PWM是否应该是这样的? Motor1=Thr - out_pitch; Motor2=Thr + out_pitch; Motor3=Thr + out_pitch; Motor4=Thr - out_pitch; |
|
相关推荐 |
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
【瑞萨RA6E2】瑞萨E2S软件安装过程,等待过程玩下97_e2 studio_ZGZZ
140 浏览 0 评论
483 浏览 0 评论
【原创】【RA4M2-SENSOR开发板评测】低功耗+USB综合测试
815 浏览 0 评论
1346 浏览 2 评论
804 浏览 0 评论
【youyeetoo X1 windows 开发板体验】少儿AI智能STEAM积木平台
16903 浏览 31 评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 13:59 , Processed in 0.684061 second(s), Total 67, Slave 50 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1610