Skip to content

Commit

Permalink
fix(hardware_testing): fixed abr asair script to use correct IPs.json…
Browse files Browse the repository at this point in the history
… file
  • Loading branch information
AnthonyNASC20 committed Nov 20, 2024
1 parent 768b612 commit 40a7acc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions hardware-testing/hardware_testing/scripts/ABRAsairScript.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def run(file_name: str) -> List[Any]:
robot_names = []
with open(file_name) as file:
file_dict = json.load(file)
robot_dict = file_dict.get('ip_address_list')
robot_dict = file_dict.get("ip_address_list")
robot_ips = list(robot_dict.keys())
robot_names = list(robot_dict.values())
print("Executing Script on All Robots:")
Expand All @@ -89,10 +89,8 @@ def run(file_name: str) -> List[Any]:
# Wait for all processes to finish.
file_name = sys.argv[1]
processes = run(file_name)

for process in processes:
process.start()
time.sleep(20)

for process in processes:
process.join()

0 comments on commit 40a7acc

Please sign in to comment.