Skip to content

Commit

Permalink
Fixed metrics wheel parser (#1076)
Browse files Browse the repository at this point in the history
Co-authored-by: glopezdiest <[email protected]>
  • Loading branch information
glopezdiest and glopezdiest committed Apr 26, 2024
1 parent db40fb7 commit 9d54467
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions srunner/metrics/tools/metrics_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ def parse_wheels_control(info):
max_brake_torque=float(info[11]),
max_handbrake_torque=float(info[13]),
position=carla.Vector3D(
x=float(info[17][1:-1]) / 100,
y=float(info[17][:-1]) / 100,
x=float(info[15][1:-1]) / 100,
y=float(info[16][:-1]) / 100,
z=float(info[17][:-1]) / 100)
)
return wheels_control
Expand Down

0 comments on commit 9d54467

Please sign in to comment.