Skip to content

Commit

Permalink
When checking for version messages, don't convert them to numpy so th…
Browse files Browse the repository at this point in the history
…ey get parsed correctly.
  • Loading branch information
Jonathan Diamond committed Jun 20, 2024
1 parent d655dc8 commit 7601749
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/fusion_engine_client/analysis/analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2341,9 +2341,12 @@ def _set_data_summary(self):

message_table = _data_to_table(['Message Type', 'Count'], [message_types, message_counts])

params_no_numpy = copy.deepcopy(self.params)
params_no_numpy['return_numpy'] = False

# Create a software version table.
result = self.reader.read(message_types=[VersionInfoMessage.MESSAGE_TYPE], remove_nan_times=False,
**self.params)
**params_no_numpy)
if len(result[VersionInfoMessage.MESSAGE_TYPE].messages) != 0:
version = result[VersionInfoMessage.MESSAGE_TYPE].messages[-1]
version_types = {'fw': 'Firmware', 'engine': 'FusionEngine', 'os': 'OS', 'rx': 'GNSS Receiver'}
Expand Down

0 comments on commit 7601749

Please sign in to comment.