Skip to content

Commit

Permalink
Fix typos in extract_vehicle_speed_data.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Diamond committed Oct 4, 2023
1 parent 1e709e4 commit 9d63447
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions python/examples/extract_vehicle_speed_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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.")
Expand All @@ -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.")
Expand Down

0 comments on commit 9d63447

Please sign in to comment.