Skip to content

Commit

Permalink
Fixed p1_print --format=oneline option.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamshapiro0 committed Apr 4, 2024
1 parent ba95e42 commit 2a9deb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/fusion_engine_client/applications/p1_print.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def print_message(header, contents, offset_bytes, format='pretty', bytes=None):
raise ValueError('No data provided for binary format.')
parts = []
elif isinstance(contents, MessagePayload):
if format.startswith('oneline-'):
if format.startswith('oneline'):
# The repr string should always start with the message type, then other contents:
# [POSE (10000), p1_time=12.029 sec, gps_time=2249:528920.500 (1360724120.500 sec), ...]
# We want to reformat and insert the additional details as follows for consistency:
Expand Down

0 comments on commit 2a9deb2

Please sign in to comment.