Repository navigation
加入功率约束摩擦约束的力控舵轮 - #44
Merged
Hidden character warning
The head ref may contain hidden characters: "\u6295\u5f71\u529b\u77e9"
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
基本运动已经实现,与上赛季对比由以下改动:
1.增加正逆解算,实现力控加pid修正
2.通过powercontrol预测的电机功率加入功率约束,又在锁死轮位置时利用拉力计测出大概摩擦系数加入摩擦约束
3.为FOLLOW增加beta角死区,避免底盘舵向跟随残差进行不必要转向
4.由于舵轮小陀螺模式下平移和自旋不好兼顾(受限于舵向角和抓地摩擦,功率等),可以通过限制自旋速度来兼顾,但是要考虑小陀螺想要的是机动性还是躲避弹丸,现在代码没有具体测试,只有大概的思路
目前代码仍有许多要优化的地方
1.现在求解器是ai按照南理开源文档实现的,还未具体研究求解过程。
2.未加入力控前馈。
3.未与原本速控pid有较为严谨的测试比较