Skip to content

Commit

Permalink
fix bug in aoi z-axis offset according to nearest lane
Browse files Browse the repository at this point in the history
  • Loading branch information
chenchenplus committed Dec 26, 2024
1 parent 3ea093f commit ae6f0de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mosstool/map/builder/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -4308,7 +4308,7 @@ def get_output_map(self, name: str):
_line = self.map_lanes[nearest_lane_pos["lane_id"]]
_line_z = (_line.coords[-1][2] - _line.coords[0][2]) * (
nearest_lane_pos["s"] / _line.length
)
) + _line.coords[0][2]
else:
_line_z = 0
# posistion
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "mosstool"
version = "1.2.4"
version = "1.2.5"
description = "MObility Simulation System toolbox "
authors = ["Jun Zhang <[email protected]>","Junbo Yan <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit ae6f0de

Please sign in to comment.