From 96d12a24cef4bebe4cf85a1f4106182ef48a8bca Mon Sep 17 00:00:00 2001 From: madrigal Date: Tue, 7 Oct 2025 10:40:42 -0400 Subject: [PATCH] Commented out r->g iperf, fixed addresses for calculating r->g ping --- relay.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/relay.py b/relay.py index ae48d30..ee36a41 100644 --- a/relay.py +++ b/relay.py @@ -75,10 +75,10 @@ def relay_iperf( collect_iperf( filename=filename, server_ip=relay_address, duration=duration, stations="er" ) - try: - collect_iperf_remote(filename=filename) - except Exception as e: - print(f"Error collecting relay -> ground iperf: {e}") + # try: + # collect_iperf_remote(filename=filename) + # except Exception as e: + # print(f"Error collecting relay -> ground iperf: {e}") # Collect and send data continuously @@ -108,8 +108,8 @@ def collect_data( ) # edge to relay data = calculate_ping( dictionary=data, - base_address=base_address, - relay_address=relay_address, + base_address="eg", + relay_address="er", name="rg", ) # relay to ground data["timestamp"] = time.time() @@ -153,10 +153,10 @@ def set_parameters(): or "10.45.0.1" ) folder_name = ( - input("Enter the log folder name (Default is boat_relay_sept): ") + input("Enter the log folder name (Default is boat_relay_oct_9): ") .strip() .lower() - or "boat_relay_sept" + or "boat_relay_oct_9" ) interval = int( input(