d56b922f6a
Refactor main.py and task_4.py: Removed deprecated turn_degree_v2 call in main.py and updated task_4.py to utilize center_on_dual_tracks for improved navigation. Deleted test_center_on_tracks.py and test_offline_centering.py files to streamline the codebase. Enhanced dual track detection capabilities by integrating detect_furthest_horizontal_intersection in move_base_hori_line.py, allowing for more accurate alignment to horizontal lines.
2025-05-28 16:17:53 +00:00
12be1b8e67
Enhance run_task_5 in task_5.py: Added move_to_hori_line function call to improve robot navigation by ensuring it moves to a horizontal line before returning results.
2025-05-28 11:41:26 +00:00
eb34eeeb3e
Enhance main.py and task_5.py: Introduced turn_degree_v2 function for improved turning control in main.py. Updated run_task_5 to accept direction parameter, allowing for dynamic movement towards unloading points based on QR code results. Added logic for moving to horizontal line and unloading sequence, enhancing task execution and robot navigation.
2025-05-28 10:07:44 +00:00
53b04a6a74
Refactor main.py and enhance go_straight_with_qrcode function in go_straight.py. Commented out unused code in main.py for clarity and added QR code scanning functionality to go_straight_with_qrcode, improving robot navigation and task execution. Updated run_task_5 to utilize the new function for better integration of QR code scanning during movement.
2025-05-28 09:56:35 +00:00
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
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