Skip to content

Commit

Permalink
Fixing failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DGPardo committed Jul 4, 2024
1 parent 9a22715 commit 5fd303c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scenario_gym/xosc_interface/read.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,9 @@ def traj_point_from_time_and_position(t, world_position) -> np.ndarray:
t,
float(world_position.attrib["x"]),
float(world_position.attrib["y"]),
float(world_position.attrib.get("z", np.NaN)),
float(world_position.attrib.get("h", np.NaN)),
float(world_position.attrib.get("p", np.NaN)),
float(world_position.attrib.get("r", np.NaN)),
float(world_position.attrib.get("z", np.nan)),
float(world_position.attrib.get("h", np.nan)),
float(world_position.attrib.get("p", np.nan)),
float(world_position.attrib.get("r", np.nan)),
],
)

0 comments on commit 5fd303c

Please sign in to comment.