- 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
12 lines
280 B
Python
12 lines
280 B
Python
import time
|
||
import sys
|
||
import os
|
||
|
||
# 添加父目录到路径,以便能够导入utils
|
||
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||
|
||
from task_5.detect_arrow_direction import ArrowDetector
|
||
|
||
def run_task_5(ctrl, msg, image_processor=None):
|
||
pass
|