224 Commits

Author SHA1 Message Date
4b34cd5d33 add demo cpp 2025-07-05 22:26:21 +08:00
f4fdfe475e 🎏 set tasks for step-2 2025-06-16 23:19:33 +08:00
b5df874ad2 更新任务1的移动逻辑,将go_to_xy函数替换为go_straight函数以调整移动距离,提升执行效果。 2025-06-01 07:21:42 +08:00
4eb237af83 Adjust movement parameters in task 2.5 for improved execution by reducing distance, and increase maximum iterations in task 3 for enhanced stability during operations. 2025-05-31 21:28:26 +00:00
97b4aa3b3c Refactor main.py to comment out task 1 execution, adjust movement parameters in task 2.5 for improved execution, and modify iteration thresholds in task 3 for enhanced stability during operations. 2025-05-31 21:22:39 +00:00
45e42773e7 Enable task 1 execution in main.py by uncommenting the corresponding function call, enhancing the overall task flow and functionality. 2025-05-31 17:56:26 +00:00
8bf27872b6 Adjust movement parameters in task 2.5 for improved execution and increase iteration thresholds in task 3 for enhanced stability during operations. 2025-05-31 17:52:29 +00:00
f088f626e1 Enhance arrow detection in task 2 by adding left and right direction counters, updating detection logic, and refining output messages. Adjust movement parameters in task 2.5 for improved execution. Update task 3 to increase maximum iterations for better stability during operations. 2025-05-31 17:22:06 +00:00
beb0c1b9f1 Enhance main.py and task functions by removing commented-out code and refining movement logic. Update task 2.5 to utilize a new turning function and adjust iteration parameters in task 3 for improved execution flow and clarity. 2025-05-31 15:55:00 +00:00
580ebb39e3 Refactor main.py and task functions by commenting out unused code and adjusting movement parameters for improved execution flow. Update task 2 to enhance clarity and maintainability. 2025-05-31 15:17:03 +00:00
824e31edde 🐛 Refactor task 2.5 and task 3 movement logic by commenting out unused code and adjusting parameters for improved execution flow. Streamline task functions for better clarity and maintainability. 2025-05-31 15:03:40 +00:00
e9f931e6bd Refactor movement logic in task functions by commenting out unused code and adjusting parameters for improved execution. Update main.py to streamline task calls and enhance clarity. 2025-05-31 14:57:27 +00:00
37248fe570 Merge branch 'main' of ssh://120.27.199.238:222/Havoc420mac/mi-task into main 2025-05-31 14:55:15 +00:00
88717f2a32 Refactor main.py and task functions to improve clarity and control. Comment out unused code and adjust movement parameters in task 5 for better execution. Update task 2.5 to streamline movement logic and enhance readability. 2025-05-31 14:55:13 +00:00
51f9f19d32 删除任务3和任务4的主程序文件,以简化项目结构并移除不必要的代码。确保代码库的整洁性和可维护性。 2025-05-31 22:50:52 +08:00
37cf8f3106 Refactor main execution flow to enable task execution based on arrow direction detection. Integrate new movement functions for improved control and clarity, while removing commented-out code for better readability. 2025-05-31 14:43:02 +00:00
4db80baf9b Merge branch 'task-5-2' into main 2025-05-31 14:39:54 +00:00
a4a600118d Delete outdated robot log files from May 25, 26, 28, and 31, 2025, to streamline project structure and remove unnecessary data. Update task 4 and task 5 movement parameters for improved control and consistency in execution. 2025-05-31 14:38:37 +00:00
a2fd2daff1 在图像处理器中引入日志记录功能,替换了多个打印语句为日志记录,增强了错误和状态信息的可追踪性。调整了异步扫描的启动和停止逻辑,确保更好的错误处理和信息反馈。 2025-05-31 22:38:35 +08:00
77bee57da9 Update .gitignore to include 'example/' directory and adjust movement parameters in task 4 and task 5 for improved control. Comment out a function call in main.py for clarity. 2025-05-31 14:26:58 +00:00
b392453b62 更新任务函数,统一时间参数为可配置的 time_sleep 变量,以提高代码灵活性和可维护性。调整主程序中的任务调用,确保一致性和可读性。 2025-05-31 22:22:53 +08:00
7ee061ffa9 Refactor task execution by standardizing the parameters for the center_on_dual_tracks function across multiple tasks. Enhance movement commands in task 4 for improved control and adjust speed parameters for better responsiveness in task 5. Clean up commented code for clarity. 2025-05-31 14:18:02 +00:00
74571e9c92 Refactor task 3 execution flow by enabling key movement commands and updating message parameters for improved control. Add section handling for task phases to enhance clarity and organization. 2025-05-31 14:06:12 +00:00
0979d10415 Refactor main execution flow by enabling task execution based on arrow direction detection. Adjust max_time parameter in centering function for improved responsiveness. Update task 5's movement commands and section handling for clarity and consistency. 2025-05-31 13:53:54 +00:00
4200fb8aeb Refactor main execution flow by adding support for task 3 back functionality and adjusting task 1 and task 2 parameters. Update task 2.5 back execution logic and improve movement commands for better control. Set observe flag in track detection functions for consistency. 2025-05-31 13:40:55 +00:00
8ef996ee94 🐛 Add support for additional detection function versions in horizontal line alignment. Implement version checks for functions 3 and 4, and handle errors for unspecified detection versions. Improve code clarity and maintainability. 2025-05-31 12:53:50 +00:00
e427be6cb9 Refactor calibration logic in Robot_Ctrl class by uncommenting and optimizing the calibration process for odometry data. Ensure proper handling of calibration offset and improve clarity in the msg_handler_o method. 2025-05-31 12:47:36 +00:00
3b2fc33bf7 Refactor main execution flow by enabling task 2.5 with arrow direction detection and adjusting task 3 back execution. Update task 2.5 parameters for distance and speed, and modify task 5's horizontal line movement distance. Set observe flag to False in track detection functions for consistency. 2025-05-31 12:43:11 +00:00
e0961fcdd9 Merge branch 'task-3-2' of ssh://120.27.199.238:222/Havoc420mac/mi-task into task-3-2 2025-05-31 20:09:29 +08:00
254923a222 删除了多个示例文件和配置文件,包括机器人日志模块、运动参数和检测相关的Python脚本,清理了不再使用的代码和资源,以优化项目结构和维护性。 2025-05-31 20:09:18 +08:00
1ce0f9e7bf Update centering functionality in dual track control by adding new parameters for detection height and interval. Adjust message life count handling and improve variable management in task execution. Refactor related functions for enhanced clarity and performance. 2025-05-31 09:46:46 +00:00
87be6b8328 Refactor task execution flow by removing unnecessary return statements and enhancing task 3 with additional centering functionality. Update dual track line detection to improve error handling and variable naming for clarity. 2025-05-31 07:52:19 +00:00
e399c8c837 Enhance dual track centering functionality by adding an estimated track distance parameter for improved deviation calculations. Update the logic for converting pixel deviation to actual distance, optimizing the centering process. Refactor detection and movement commands for better responsiveness and accuracy. 2025-05-31 07:30:18 +00:00
af364ebccb 增强双轨迹线检测功能,优化了边缘检测和线条筛选逻辑,改进了评分机制以提高检测准确性。更新了调试信息和日志记录,便于可视化和结果追踪。同时,调整了图像路径以适应新的测试用例。 2025-05-31 14:12:52 +08:00
122aea619b Enhance dual track centering functionality by adding a new method for centering and following dual tracks. Update parameters for improved control and response. Adjust detection region in dual track line detection for better accuracy. 2025-05-31 06:05:55 +00:00
f204d3cd50 🎏 vertical dual over - 1 2025-05-31 13:36:16 +08:00
e1f32f2646 vertical: step - 3 2025-05-31 13:03:35 +08:00
3f4e26af75 增强双轨迹线检测功能,优化了线条合并逻辑,更新了调试信息以便于可视化和结果追踪。增加了合并前后线条数量的记录,提升了代码可读性和调试便利性。 2025-05-31 13:00:39 +08:00
b80bd056c0 verical: step - 2 2025-05-31 12:49:01 +08:00
365d59fe75 vertical: step - 1 2025-05-31 12:33:28 +08:00
824b9d7786 增强双轨迹线检测功能,新增基于中心线的检测方法,优化了参数设置和评分机制,提高了对不同路况的处理能力和检测准确性。同时,更新了日志记录以便于调试和结果追踪。 2025-05-31 10:21:55 +08:00
f9b1b74b8b nothing 2025-05-31 10:07:37 +08:00
6dfa9101cf Refactor main.py and task_3.py: Re-enable task execution logic by restoring arrow direction handling and task function calls. Update max_iterations in pass_up_down function for improved safety. Add enhanced go_straight_with_enhanced_calibration function in task_4.py for better navigation on stone paths. 2025-05-31 01:28:03 +00:00
b65b3e5b2e Remove Gait_Params_up_full.toml file and update task_3.py and task_4.py to enhance navigation and control. Integrate go_lateral function for lateral movement, improve task execution with center_on_dual_tracks, and streamline file publishing for gait parameters. Update detection logic for horizontal lines and adjust iteration thresholds for better performance. 2025-05-30 16:12:10 +00:00
ba0994a82b Add go_lateral function for lateral movement control and update task_4.py to utilize it for improved navigation. Cleaned up main.py by removing unnecessary lines and added comments for clarity. 2025-05-30 11:34:56 +00:00
7fe76e0548 Refactor task_4.py: Updated navigation logic to improve dual track following capabilities. Enhanced the integration of visual tracking functions for better task execution. Streamlined code for improved readability and performance. 2025-05-28 16:20:12 +00:00
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
8acf5fb31c 更新日志文件,增加离线双轨道线居中测试的详细信息和调试记录,修复了自动检测模式下的异常,提升了检测过程的稳定性和准确性。 2025-05-28 23:11:38 +08:00
cc2a6ac41e 更新日志文件,增加双轨迹线检测的详细调试信息和结果记录,同时删除过时的图像文件以优化存储。增强了对不同路况的处理能力,提升了检测准确性。 2025-05-28 23:07:58 +08:00
c46ddbf7a4 优化双轨迹线检测功能,增强对不同路况的处理能力,改进参数设置和评分机制,提升检测准确性和鲁棒性。同时,更新日志记录格式,确保信息更为清晰。 2025-05-28 22:56:17 +08:00