Repository navigation
Update swerve geometry and control settings - #45
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.
新增舵轮底盘支持矩形轮组布置
新增 GetWheelToCenter(),返回 hypot(width/2, length/2),即四个轮子共同
的旋转半径。最大底盘角速度和加速度约束中的摩擦半平面原来直接使用
wheel_to_center,现在改为调用这个函数。逆运动学、正运动学和前馈分配
本来就按每个轮子的坐标计算,不需要修改。
设置了 length 与 width 时不再读取 wheel_to_center,此时它可以配置为 0。
删除一些无用代码