Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interaction history fix #765

Closed
wants to merge 209 commits into from
Closed

Interaction history fix #765

wants to merge 209 commits into from

Conversation

sah-huawei
Copy link
Contributor

Simple fix to ensure that traffic history data always starts at sim_time = 0 (even if the data file being imported does not).

Closes #762.

KornbergFresnel and others added 30 commits October 21, 2020 11:09
…ranch 'master' of github.com:KornbergFresnel/smarts
…439)

* Not recreate SMARTS instance during imitation learning

* Fix bugs in imitation learning to run interaction dataset
* Fixes to make the mini-city work nicely

* Address comments
JingfeiPeng and others added 25 commits March 18, 2021 11:38
This reverts commit 5358fcd.
* Added sanity test to test new user's setup

* Referred to sanity-test in readme

* Updated changelog
Traceback (most recent call last):
  File "examples/multi_instance.py", line 192, in <module>
    num_episodes=args.num_episodes,
AttributeError: 'Namespace' object has no attribute 'num_episodes'
* Fix ULTRA CI tests

* Empty commit: run ULTRA CI

Co-authored-by: Jenish Patel <[email protected]>
* add on_shoulder in events in observations

* update changelogs
* First pass at ShowBase refactor into Renderer;
Also added Provider base class.
WIP

* Updated the pybullet examples. +comments.

* Added changelog entry.

* find collidee by vehicle.id, not node in scene graph.
misc. minor cleanup.

* oops, had wrong issue number in CHANGELOG.

* Made ShowBaseInstance class private.

* Fixups from review:  actually use Provider!

* Added some comments to explain why overlapping SMARTS is still not a good idea.

* fixups from review (better encapsulation)

* fixed oops

* don't use ShowBase clock for main simulation clock.

* hide other sim_root nodes when rendering

* Added simple multiple-renderers test.
* make done_creteria independent from events

* update changelog
* Use possibly-shifted road network file when starting Sumo.

* use unique name for shifted net file just in case.

* Don't use a unique shifted_net filename every time afterall to avoid accumlation of cruft.

* updated CHANGELOG

* Fixed Changelog location.

* Add CHANGELOG line for previous map offset fix saying that scenario maps need to be rebuilt.
* Added description for map creation

* Mentioned paper in docs

* change mention to paper to front page

* update changelog

* added description of lane connection

* minor typos

* add sub-headings

Co-authored-by: Stephen Hockema <[email protected]>
* First pass adding renderer_optional param to SMARTS.

* updated CHANGELOG

* recategorized the renderer changes in CHANGELOG

* Fixed location of changelog entry.

* ok, I'm going to be more careful with CHANGELOG changes going forward!

* Added new RendererException (per review)

* Added shifted_map-AUTOGEN.net.xml to .gitignore (due to already-merged "maps_offset_fixes" PR).

* Only create Renderer on demand (if camera-based sensor added).
…gnal

Make envision server can be killed by terminal signal.
* First pass at traffic history refactor to use sqlite instead of json.

* misc cleanup and tying up loose ends, incl:
- better smoothing of heading for very low vehicle speeds to reduce "wiggle"
- added ability to set agent speed to imitation learning replacement example
- added option to convert old JSON traffic histories to new sqlite .shf files
- quiet netconvert's "Success" output when shifting maps
- minor refactor of genhistories database creation code

* Added copyright header.

* added ability to use watch in sumo-gui/envision in near "realtime".

* switch from log.warn to log.warning

* updates from review

* better comment, and the black code formatter likes to mess with me.

* Fixups from review.

* fixups from review:  only replace passenger cars for imitation learning

* removed near-real-time mode after review.
@sah-huawei
Copy link
Contributor Author

oops, chose master by mistake!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can not get social vehicle id with history replay scenarios