You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The Telemetry, GenericTelemetry, and EventMessage UIs will not show message data from the 'Selected IP Address' spacecraft telemetry when multiple spacecraft are detected.
To Reproduce
Steps to reproduce the behavior:
Start two or more unique instances of cFS connected to the CFS Ground System network
Start the CFS Ground System
Start the Command System
Enable Telemetry Output for cFS instances
Wait for the CFS Ground System to detect spacecraft telemetry from all running cFS instances
In the Main Window UI click the Selected IP Address dropdown and select the last spacecraft IP address
In the Main Window UI click the Start Telemetry System (no data will appear)
In the Telemetry System Page UI click Event Messages (no data will appear)
In the Telemetry System Page UI click Display Page any Generic Telemetry Subsystem/Page (no data will appear)
Expected behavior
The selected spacecraft data is expected to be correctly displayed in the respective Telemetry, GenericTelemetry, and EventMessage UI - as indicated by the '*No packets? Remember to select the IP address of your spacecraft in the Main Window.' message at the bottom of each GenericTelemetry UI.
System observed on:
-Hardware: VirtualBox
-OS: Ubuntu 20.04
-Versions [e.g. cFE v7.0.0, OSAL v6.0.0, PSP v1.5.0, cFS-GroundSystem 3.0]
Additional context
Two sets of fixes are required for proper behavior:
The spacecraft names are stored as bytes, but the list is initialized with the string 'All' for all telemetry. Therefore always return a string in get_selected_spacecraft_name in GroundSystem.py for either case to build the correct subscription sting:
# Returns the name of the selected spacecraft
def get_selected_spacecraft_name(self):
if isinstance(self.spacecraft_names[self.ip_addresses_list.index(self.get_selected_spacecraft_address())], str):
return self.spacecraft_names[self.ip_addresses_list.index(self.get_selected_spacecraft_address())].strip()
else:
return self.spacecraft_names[self.ip_addresses_list.index(self.get_selected_spacecraft_address())].decode("UTF-8")
The subscription is defaulted to always use Spacecraft1, therefore use the subscription string sting passed directly to the EMTlmReceiver class in both GenericTelemetry and EventMessage UIs:
Describe the bug
The Telemetry, GenericTelemetry, and EventMessage UIs will not show message data from the 'Selected IP Address' spacecraft telemetry when multiple spacecraft are detected.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The selected spacecraft data is expected to be correctly displayed in the respective Telemetry, GenericTelemetry, and EventMessage UI - as indicated by the '*No packets? Remember to select the IP address of your spacecraft in the Main Window.' message at the bottom of each GenericTelemetry UI.
Code snips
cFS-GroundSystem/GroundSystem.py
Lines 90 to 93 in 821a163
cFS-GroundSystem/Subsystems/tlmGUI/EventMessage.py
Lines 141 to 146 in 821a163
cFS-GroundSystem/Subsystems/tlmGUI/GenericTelemetry.py
Lines 131 to 137 in 821a163
System observed on:
-Hardware: VirtualBox
-OS: Ubuntu 20.04
-Versions [e.g. cFE v7.0.0, OSAL v6.0.0, PSP v1.5.0, cFS-GroundSystem 3.0]
Additional context
Two sets of fixes are required for proper behavior:
Reporter Info
Mark Foster
NASA / Johnson Space Center / ER6
The text was updated successfully, but these errors were encountered: