Skip to content

Commit

Permalink
Fixed metrics wheel parser
Browse files Browse the repository at this point in the history
  • Loading branch information
glopezdiest committed Apr 26, 2024
1 parent db40fb7 commit f06e48d
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 f06e48d

Please sign in to comment.