fix: running logic

This commit is contained in:
wznln
2025-05-01 17:42:46 +08:00
parent 9eb271f64e
commit 2b428080e7
7 changed files with 25 additions and 17 deletions

View File

@@ -2,6 +2,7 @@ import copy
import json
import os
import threading
import time
from typing import Optional, Dict, Any, List
import rclpy
@@ -66,7 +67,7 @@ def main(
thread.start()
while True:
input()
time.sleep(1)
def slave(
@@ -120,7 +121,7 @@ def slave(
logger.info(f"Slave resource added.")
while True:
input()
time.sleep(1)
if __name__ == "__main__":
main()