Commit Graph

7 Commits

Author SHA1 Message Date
caad67a2bb feat: 添加A/B任务点可视化标记
- 在Environment类添加task_marker_ids属性管理标记ID
- 实现create_task_markers()方法创建A点(绿色)和B点(红色)球体标记
- 实现_clear_task_markers()方法清理旧标记
- 在setup_environment()中自动创建标记
- 在cleanup()中清理标记避免重复创建问题
- 标记使用极小碰撞体积(0.005)避免干扰仿真

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-11 19:58:51 +08:00
4429a4a7e4 fix: 修复墙体洞口创建和重建问题
主要修复:
- 改进墙体分块方式:上下全宽 + 左右洞口高度,避免四角空缺
- 添加墙体清理机制:重建前清理所有旧墙体部件,防止叠加
- 修复cleanup函数:确保清理所有墙体部件而非仅主ID
- 记录所有墙体部件ID用于正确清理

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-11 19:44:45 +08:00
70cb0019d8 Implement AI-Enhanced RRT* path planning system
Complete implementation of path planning modules:
- AI RRT* algorithm with intelligent sampling strategies
- Collision detection wrapper for PyBullet
- Hole crossing strategy with dynamic approach calculation
- Path optimization with simplification
- Path executor for trajectory execution
- GUI integration with planning and execution buttons

System is now feature-complete and ready for testing phase.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-11 17:53:38 +08:00
b2f178c409 fix: 修复KDL逆运动学崩溃问题
- 修复ik_vel_solver对象生命周期问题,改为实例变量避免过早销毁
- 添加kinematics配置支持(max_iterations, epsilon)
- 移除违反编码规范的回退方案
- 清理调试代码保持代码简洁

解决了ChainIkSolverPos_NR_JL访问已销毁局部变量导致的Windows平台崩溃

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-11 11:28:05 +08:00
0119d9365f 集成KDL运动学引擎到主系统
功能更新:
- 实现KDL自动链检测,无需手动配置链接名称
- 创建ArmController统一控制接口,集成KDL与PyBullet
- 更新MainWindow使用ArmController替换独立的RobotLoader
- 修复KDL固定关节类型语法错误

已知问题:
- KDL逆运动学在Windows上崩溃,需要进一步调试

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-11 09:04:42 +08:00
3b5306611a Implement KDL kinematics engine and complete core framework
Major Features Added:
- KDL-based kinematics engine with world/local coordinate transformation
- Complete GUI system with configuration management
- Robot loader with URDF parsing and joint control
- Enhanced environment system with transport object management
- Main application entry point with dependency validation

Technical Improvements:
- World coordinate to robot base coordinate transformation in KDL
- Real-time configuration updates through GUI
- Comprehensive error handling and validation
- Configuration-driven design throughout
- Robot model scaling adjusted to 0.2x for proper visualization

Files Added:
- src/robot/kinematics.py: KDL forward/inverse kinematics with coordinate transforms
- src/gui/: Complete GUI framework with main window and config management
- main.py: Application entry point with environment validation
- models/*.stl: Robot link mesh files for URDF visualization
- tests/: Unit test framework for core components

This commit establishes the complete foundation for robotic arm path planning
and task execution development.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 14:37:27 +08:00
a9e936bc43 Initial project structure for robotic arm feasibility test
- Added project configuration (config.json) with robot model path, environment parameters
- Created 9-DOF robotic arm URDF model (models/manual_robot.urdf)
- Established modular code architecture with empty source files ready for implementation
- Configured Python dependencies (pybullet, PyKDL, urdf_parser_py)
- Added comprehensive project documentation (CLAUDE.md)
- Created .gitignore for Python project

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 11:45:20 +08:00