Skip to content

Commit

Permalink
Fix sstudio trip generation. (#1887)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gamenot authored Feb 28, 2023
1 parent b03a222 commit 4095f3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Copy and pasting the git commit messages is __NOT__ enough.
### Deprecated
### Fixed
- Missing neighborhood vehicle ids are now added to the `highway-v1` formatted observations.
- Using `trip` in sstudio traffic generation no longer causes a durouter error.
### Removed
### Security

Expand Down
2 changes: 1 addition & 1 deletion smarts/sstudio/generators.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def write_trip_xml(self, traffic, doc, fill_in_gaps):
"vehicle",
id="{}".format(trip.vehicle_name),
type=actor.id,
route=route.id,
route=route.id + "trip",
depart=trip.depart,
departLane=route.begin[1],
departPos=route.begin[2],
Expand Down

0 comments on commit 4095f3f

Please sign in to comment.