From 9d63447979bea5a5c81057f052dcd3cbf4e36f19 Mon Sep 17 00:00:00 2001 From: Jonathan Diamond Date: Wed, 4 Oct 2023 09:32:00 -0700 Subject: [PATCH] Fix typos in extract_vehicle_speed_data.py. --- python/examples/extract_vehicle_speed_data.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/python/examples/extract_vehicle_speed_data.py b/python/examples/extract_vehicle_speed_data.py index 0c7af9e5..e034c738 100755 --- a/python/examples/extract_vehicle_speed_data.py +++ b/python/examples/extract_vehicle_speed_data.py @@ -62,8 +62,8 @@ wheel_speed_data = result[WheelSpeedOutput.MESSAGE_TYPE] raw_wheel_speed_data = result[RawWheelSpeedOutput.MESSAGE_TYPE] - vehicle_speed_data = result[WheelSpeedOutput.MESSAGE_TYPE] - raw_vehicle_speed_data = result[RawWheelSpeedOutput.MESSAGE_TYPE] + vehicle_speed_data = result[VehicleSpeedOutput.MESSAGE_TYPE] + raw_vehicle_speed_data = result[RawVehicleSpeedOutput.MESSAGE_TYPE] # Generate a CSV file for corrected wheel speed data. if len(wheel_speed_data.messages) != 0: @@ -79,8 +79,8 @@ float(gps_time), message.front_left_speed_mps, message.front_right_speed_mps, - message.back_left_speed_mps, - message.back_right_speed_mps, + message.rear_left_speed_mps, + message.rear_right_speed_mps, message.gear)) else: logger.info("No corrected wheel speed data.") @@ -99,8 +99,8 @@ float(gps_time), message.front_left_speed_mps, message.front_right_speed_mps, - message.back_left_speed_mps, - message.back_right_speed_mps, + message.rear_left_speed_mps, + message.rear_right_speed_mps, message.gear)) else: logger.info("No raw wheel speed data.")