10 Commits

Author SHA1 Message Date
c2b29f18f3 重构任务4和任务5,更新任务流程和参数
- 在main.py中注释掉run_task_2函数,确保任务执行流程的简化。
- 在task_4.py中添加go_straight_until_sky_ratio_below函数以实现基于灰色天空比例的直线移动。
- 更新README.md以反映任务4和任务5的最新描述,合并相关内容。
- 删除task_5中的多个不再使用的文件,优化代码结构。
2025-05-27 01:18:10 +08:00
c5cd4a4091 🎏 add task-5 model 2025-05-26 13:12:28 +00:00
88f72b3722 refactor(detect_track): enhance edge detection and improve track following logic
- Update detect_horizontal_track_edge_v3 function for better edge detection accuracy.
- Refine parameters in follow_left_side_track function to improve stability and responsiveness.
- Adjust logging for clarity and maintainability.
2025-05-26 12:29:48 +00:00
ea2e5d132a refactor(main): update task execution order and remove unused imports
- Remove imports for task_5 and task_test
- Add import for task_4
- Comment out task_2_5 execution
- Uncomment and execute task_4
2025-05-25 08:45:49 +00:00
6d41ffa96c 删除 test_track_detection.py 文件,优化 go_straight、move_base_hori_line 和 turn_degree 函数中的日志记录,增强代码可读性和调试信息。更新 task_1 和 task_5 以使用新的日志记录功能,提升任务执行的可追踪性和信息反馈。 2025-05-17 12:34:02 +08:00
9492912c8f turn-degress test 2025-05-13 18:19:18 +08:00
fb95c8ae45 feat(robot): add odometry functionality and update control logic
- Add odometry thread and message handler for localization data
- Update main control loop to incorporate odometry information
- Remove task 5 execution from main function
- Refactor task 5 implementation to be more modular
2025-05-13 10:12:57 +00:00
cfcdf24a4c feat(task_5): 添加箭头方向检测与运动控制
- 初始化箭头检测器并获取图像
- 根据检测到的箭头方向调整运动方向
- 更新运动参数,包括速度和步态
- 添加资源清理逻辑以确保检测器正常关闭
2025-05-13 09:44:34 +08:00
4f36019c7b feat(task_5): 添加前进运动和姿态控制
- 设置俯身姿态并开始前进运动
- 更新运动参数,包括速度、步态和步高
- 恢复到正常站立高度
2025-05-12 16:14:04 +08:00
49a6a10f63 feat(task_1): implement new robot movements and behaviors
- Add new functions for turning, going straight, and circling
- Implement standing up and lying down movements
- Update task_1 to use new movement functions
- Decode QR code information from image processor
- Refactor main.py to run task_5 instead of task_1
2025-05-12 08:06:08 +00:00