Repository navigation
补充机械臂落地避障的运动效果 - #4522
Closed
XYTX0427 wants to merge 24 commits into
Closed
补充机械臂落地避障的运动效果#4522XYTX0427 wants to merge 24 commits into
XYTX0427 wants to merge 24 commits into
Conversation
Merge: 同步main分支的机械臂仿真代码更新 核心变更说明: 1. 修复mujoco库API兼容问题(mj_findXMLPath、mju_sleep属性缺失) 2. 实现6自由度机械臂平滑轨迹优化(五次多项式插值原生实现) 3. 移除第三方依赖(trajectory-planning-helpers/roboticstoolbox),改用numpy/scipy纯原生代码 4. 修复语法错误(多余+号),保证仿真代码可直接运行 5. 完善机械臂建模XML,添加关节限位与平滑控制逻辑#
核心变更说明: 1. 修复mujoco库API兼容问题(mj_findXMLPath、mju_sleep属性缺失) 2. 实现6自由度机械臂平滑轨迹优化(五次多项式插值原生实现) 3. 移除第三方依赖(trajectory-planning-helpers/roboticstoolbox),改用numpy/scipy纯原生代码 4. 修复语法错误(多余+号),保证仿真代码可直接运行 5. 完善机械臂建模XML,添加关节限位与平滑控制逻辑:
核心变更: 1. 新增机械臂关节物理约束(速度/加速度/加加速度/Jerk),参考UR5参数设定极限值 2. 优化五次多项式插值函数,嵌入约束检查逻辑,超出极限自动截断 3. 添加闭环PD控制,实时修正关节角度误差并约束电机控制量 4. 完善仿真逻辑,增加状态打印(关节速度/控制量),便于调试约束效果 5. 保留原有平滑轨迹基础,兼容6自由度机械臂模型,无破坏性变更
核心变更: 1. 新增机械臂关节物理约束(速度/加速度/加加速度/Jerk),参考UR5参数设定极限值 2. 优化五次多项式插值函数,嵌入约束检查逻辑,超出极限自动截断 3. 添加闭环PD控制,实时修正关节角度误差并约束电机控制量 4. 完善仿真逻辑,增加状态打印(关节速度/控制量),便于调试约束效果 5. 保留原有平滑轨迹基础,兼容6自由度机械臂模型,无破坏性变更
核心变更: 1. 新增人工势场法避障逻辑,实现引力+斥力的轨迹修正,自动绕开障碍物 2. 适配旧版MuJoCo接口,修复mj_inverse参数不兼容问题(仅model/data双参数调用) 3. 新增障碍物可视化(红色半透明球体),支持动态配置障碍位置/半径 4. 保留原有物理约束(速度/加速度/PD闭环),避障与约束逻辑兼容 5. 完善状态打印功能,实时输出末端位置、避障修正目标、与障碍距离
Member
|
运行效果上传失败 |
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.
修改概述:
修改的详细描述
Uploading 屏幕录制 2025-12-22 201210.mp4…
Uploading 屏幕录制 2025-12-22 201329.mp4…
经过了什么样的测试?
运行效果
动图、视频、截图等