- Commented out run_task_3 in main.py to prevent execution during testing. - Modified turn_degree function to set precision to True for improved control. - Removed the unnecessary task_3/main copy.py file. - Updated run_task_3 in task_3.py to improve gait file handling and control logic. - Adjusted parameters for stability detection and added checks for descending phases. - Updated task_test.py to focus on straight movement while commenting out previous commands.
✨ 删除 test_track_detection.py 文件,优化 go_straight、move_base_hori_line 和 turn_degree 函数中的日志记录,增强代码可读性和调试信息。更新 task_1 和 task_5 以使用新的日志记录功能,提升任务执行的可追踪性和信息反馈。
任务模块
top
- “装货 / qrcode”
- 曲线赛道
- 上下坡
- 存在两种可能性
- 石板道
- 栅栏 / 栏杆
Task-1:出生点 - 取货
从二维码取货完,然后走到弯道入口。
校准前方横线 & 距离距离
RGB 摄像机所在位置的确定: 主要是需要确定其高度。
Task-2:弯道任务
过去,以及回来。两个方向都需要。
Task-2.5:识别
根据箭头决定方向。
这里采取传统cv的基于凸包计算的算法。
Task-3:上下坡
同样需要考虑两个方向。(正式计时各有一半的概率)
感觉两个坡度稍微有一点点区别。
以及反方向。
Task-4:石板路
Task-5:过栅栏
Task-5.5:走向卸货
从上一个赛道结束到 B 二维码。
Task-6:卸货
也可能在另一边。 这里是感觉在走过去的过程中就能判断二维码。
Description
Languages
Python
96%
C++
3%
CMake
0.9%