diff --git a/python/examples/extract_position_data.py b/python/examples/extract_position_data.py index 202c07e6..96dec144 100755 --- a/python/examples/extract_position_data.py +++ b/python/examples/extract_position_data.py @@ -154,6 +154,11 @@ logger.warning('No pose data found in log file.') sys.exit(2) + if len(pose_aux_data.messages) == 0: + logger.warning('No PoseAux messages found in log file. ENU velocity will be NAN.') + if len(gnss_info.messages) == 0: + logger.warning('No GNSSInfo messages found in log file. Satellite count will be 0.') + output_prefix = os.path.join(output_dir, os.path.splitext(os.path.basename(input_path))[0]) # Generate a CSV file.