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.havoc420ubuntu2025-05-31 15:03:40 +00:00
e9f931e6bdRefactor 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.havoc420ubuntu2025-05-31 14:57:27 +00:00
37248fe570Merge branch 'main' of ssh://120.27.199.238:222/Havoc420mac/mi-task into mainhavoc420ubuntu2025-05-31 14:55:15 +00:00
88717f2a32Refactor 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.havoc420ubuntu2025-05-31 14:55:13 +00:00
37cf8f3106Refactor 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.havoc420ubuntu2025-05-31 14:43:02 +00:00
a4a600118dDelete 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.
task-5-2
havoc420ubuntu2025-05-31 14:38:37 +00:00
77bee57da9Update .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.havoc420ubuntu2025-05-31 14:26:58 +00:00
7ee061ffa9Refactor 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.havoc420ubuntu2025-05-31 14:18:02 +00:00
74571e9c92Refactor 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.havoc420ubuntu2025-05-31 14:06:12 +00:00
0979d10415Refactor 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.havoc420ubuntu2025-05-31 13:53:54 +00:00
4200fb8aebRefactor 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.havoc420ubuntu2025-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.havoc420ubuntu2025-05-31 12:53:50 +00:00
e427be6cb9Refactor 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.havoc420ubuntu2025-05-31 12:47:36 +00:00
3b2fc33bf7Refactor 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.havoc420ubuntu2025-05-31 12:43:11 +00:00
e0961fcdd9Merge branch 'task-3-2' of ssh://120.27.199.238:222/Havoc420mac/mi-task into task-3-2
task-3-2
Havoc2025-05-31 20:09:29 +08:00
1ce0f9e7bfUpdate 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.havoc420ubuntu2025-05-31 09:46:46 +00:00
87be6b8328Refactor 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.havoc420ubuntu2025-05-31 07:52:19 +00:00
e399c8c837Enhance 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.havoc420ubuntu2025-05-31 07:30:18 +00:00
122aea619bEnhance 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.havoc420ubuntu2025-05-31 06:05:55 +00:00
f204d3cd50🎏 vertical dual over - 1Havoc2025-05-31 13:36:16 +08:00
6dfa9101cfRefactor 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.havoc420ubuntu2025-05-31 01:28:03 +00:00
b65b3e5b2eRemove 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.havoc420ubuntu2025-05-30 16:12:10 +00:00
ba0994a82bAdd 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.havoc420ubuntu2025-05-30 11:34:56 +00:00
7fe76e0548Refactor 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.havoc420ubuntu2025-05-28 16:20:12 +00:00
d56b922f6aRefactor 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.havoc420ubuntu2025-05-28 16:17:53 +00:00
ca876148f6Remove obsolete dual track images and add new PNG images for enhanced visual tracking capabilities.havoc420ubuntu2025-05-28 13:42:50 +00:00
3d73bebc74Refactor task_4.py: Replaced follow_dual_tracks function with go_straight_with_visual_track for improved tracking capabilities during task execution. Updated run_task_4_back to utilize the new function, enhancing navigation and control.havoc420ubuntu2025-05-28 13:22:23 +00:00
91a6ef0d36Enhance main.py and task_4: Added go_to_y_v2 function to main.py for improved navigation. Updated go_straight function in go_straight.py to accept additional parameters for mode, gait_id, and step_height, allowing for more flexible movement control. Integrated follow_dual_tracks function in task_4 to enhance task execution by enabling dual track following capabilities.havoc420ubuntu2025-05-28 13:18:27 +00:00
2bb7558fb1Refactor main.py and task_4: Updated turning logic in main.py to use turn_degree_v2 with a fixed degree of -90. Adjusted Gait_Params_stoop_full.toml and Gait_Params_stoop.toml to reduce body velocity from 0.2 to 0.15 for smoother movement. Enhanced pass_bar.py to streamline gait file publishing and added step_num variable for better control during the pass_bar function. Updated run_task_4_back to improve task flow and added a pause for standing up after passing the bar.havoc420ubuntu2025-05-28 12:24:18 +00:00
5c3e858029Merge branch 'main' of ssh://120.27.199.238:222/Havoc420mac/mi-task into mainhavoc420ubuntu2025-05-28 12:24:04 +00:00
a5d8960a85Fix detect_track.py: Uncommented observe variable for testing purposes to ensure proper functionality during image processing.havoc420ubuntu2025-05-28 12:24:01 +00:00
12be1b8e67Enhance 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.havoc420ubuntu2025-05-28 11:41:26 +00:00
5502fa55d3Merge branch 'task-3' of ssh://120.27.199.238:222/Havoc420mac/mi-task into task-3
task-3
Havoc2025-05-28 18:08:34 +08:00
eb34eeeb3eEnhance 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.havoc420ubuntu2025-05-28 10:07:44 +00:00
53b04a6a74Refactor 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.havoc420ubuntu2025-05-28 09:56:35 +00:00
ca876fd733Add go_until_yellow_area function to task_3.py for yellow area detection and control. Enhanced robot movement logic to stop upon detecting specified yellow area ratio, including temporary image handling and smooth stopping mechanism.havoc420ubuntu2025-05-28 07:02:58 +00:00
39f548a79dRefactor task_3.py: rename and restructure functions for clarity and improved execution flow. Introduced pass_up_down function and redefined run_task_3 to enhance task management.havoc420ubuntu2025-05-28 06:01:57 +00:00
af412c707eUpdate main.py: refine commented-out sleep statement for clarity in testing contexthavoc420ubuntu2025-05-28 05:52:08 +00:00