Skip to content

Commit

Permalink
Basic sub fleet state test
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Chong <[email protected]>
  • Loading branch information
aaronchongth committed Feb 11, 2025
1 parent ad36048 commit d87e89e
Showing 1 changed file with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@ def tearDownClass(cls):
rclpy.shutdown()

def test_robot_exists(self):
def start_adapter():
start_fleet_adapter(
config_path=str(self.__fleet_config_path),
nav_graph_path=str(self.__nav_graph_path),
zenoh_config_path=None,
server_uri=None,
use_sim_time=True
)
fleet_adapter_thread = \
threading.Thread(target=start_adapter, args=())
fleet_adapter_thread.daemon = True
fleet_adapter_thread.start()
# def start_adapter():
# start_fleet_adapter(
# config_path=str(self.__fleet_config_path),
# nav_graph_path=str(self.__nav_graph_path),
# zenoh_config_path=None,
# server_uri=None,
# use_sim_time=True
# )
# fleet_adapter_thread = \
# threading.Thread(target=start_adapter, args=())
# fleet_adapter_thread.daemon = True
# fleet_adapter_thread.start()

robot_exists = asyncio.Future()

Expand Down

0 comments on commit d87e89e

Please sign in to comment.