-
Notifications
You must be signed in to change notification settings - Fork 190
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
Parallel observations #1687
Merged
Merged
Parallel observations #1687
Changes from all commits
Commits
Show all changes
153 commits
Select commit
Hold shift + click to select a range
dbed456
Use test validation
Gamenot e40f508
Extract renderer out of vehicle object
Gamenot a9ae849
Add todos specific to me.
Gamenot e26892d
Move step sensors to vehicle index.
Gamenot 401dc8d
Black format
Gamenot b2387f4
Format isort
Gamenot a6b1a48
Add missing observations to AgentType.Full
Gamenot c3f624e
Working example, needs persistant workers.
Gamenot d027f06
Add missing map
Gamenot c68e197
Make format
Gamenot a9dff6f
Persist processes to get performance.
Gamenot 2ce0b42
Test that local and remote observations are equal
Gamenot 7003d92
Write out what is TODO.
Gamenot 7467fdb
Separate out the frame code from smarts
Gamenot a29aa8f
Approach better performance
Gamenot 73b2f9d
Pass in constants
Gamenot d74511c
Restoring tests
Gamenot 0fad382
Generate headers when formatting.
Gamenot b9be3c1
Remove 3.8 greater code.
Gamenot 2bc7173
Fix envision test
Gamenot 7a9682b
Improved parallelism
Gamenot f252a61
Make format
Gamenot 0a949e9
Extract sensors to sensor manager, extract render.
Gamenot afd5d10
Use global environment constants.
Gamenot 0cbcd7f
Update timeout options
Gamenot b971961
Optimize unpack method.
Gamenot adea1b8
Make format
Gamenot 622f8fa
Remove saved camera time for reproduction.
Gamenot 6575d30
Update changelog
Gamenot 335de88
Add matching for dataclass types.
Gamenot 27f0280
Fix renderer issue
Gamenot 21a3fa3
Prepare to swap from old observe method.
Gamenot 6316369
Remove reduntant counter utility
Gamenot 68b57e6
Remove sensor count after deletion
Gamenot b602eb3
Delete count if sensor has been removed.
Gamenot 2213aed
Finish up sensor manager
Gamenot 333a22a
Add engine debug option
Gamenot e8ecdb9
Remove actor references to directly removed sensors
Gamenot 257d3b0
Improve typing
Gamenot b3f6d43
Ensure all sensors are serializable
Gamenot 829f9a5
Fix lidar sensor attach error.
Gamenot 17750c4
Fix sensor setup
Gamenot d312552
Fix logical error
Gamenot 55ecb3a
Swap observe
Gamenot fae8537
Make format
Gamenot ace64a4
Fix sensor issue.
Gamenot 34cdf85
Disable debugging feature mode
Gamenot 53abb3a
Fix done criteria test
Gamenot c81d451
Use a renderer reference rather than private attr.
Gamenot 34476c1
Fix issue with test boids using local traffic
Gamenot ccfd148
Fix boid done behaviour
Gamenot d89a9bf
Fix problem with bubble hijacking test.
Gamenot 51534c3
Stabilize cpu use
Gamenot 453d2c2
Set number of observation workers in test.
Gamenot d314936
Fix missing import
Gamenot 4c9c9c3
Fix hijacking test
Gamenot de2c68a
Make tests headless.
Gamenot 7aa0842
Fix test shutdown.
Gamenot 51e57eb
Fix test_sensors.
Gamenot 7f16fbc
Fix renderer and shutdown tests.
Gamenot 3f86f03
Fix test signal observations.
Gamenot 0e8565f
Make sensor logging info
Gamenot 4c9b1d3
Remove test setup.
Gamenot c70aaa3
Fix formatting test.
Gamenot 1a3ea36
Move the unpacking utility
Gamenot ce57adf
Update tests to not run parallel comparison test
Gamenot f0aff97
add Empty ActionSpaceType
qianyi-sun 974f139
Mark sensors mutable or unmutable.
Gamenot 1923a80
Get sensors from sensor manager instead of vehicle
Gamenot 2f146ff
Register all vehicle sensors with sensor manager.
Gamenot 6311609
Fix test error.
Gamenot 16382b1
Fix dataclass diff tool.
Gamenot a6a184d
Synchronize sensors back to smarts.
Gamenot ac16f00
Update test
Gamenot 3226587
Exclude full sensors from test for now.
Gamenot 8b7ce21
Fix missing method call.
Gamenot 8aa7373
Remove reference to actor in vehicle index.
Gamenot d0f249c
Fix type errors.
Gamenot 3e1067c
Fix scenario resource location errors.
Gamenot 2c017f4
Fix make test.
Gamenot cc76204
Fix recursion error
Gamenot 0a6d4a9
Fix: sensors did not sync to sensor manager.
Gamenot f7f1b71
Split tests in two files to ignore baseline test.
Gamenot 85426d3
Fix types test
Gamenot 8598eb2
Add typehint for method.
Gamenot 3fb7fcd
Fix bug with terminating a worker.
Gamenot 49b9b03
Lower default retries to 0
Gamenot c1c6539
Rename serialization
Gamenot 8c0136d
Fix call of serializer.
Gamenot 584e646
Black format
Gamenot 497df15
Ensure serialization of roadmap always works.
Gamenot e1fa51e
Fix issue with daemon processes.
Gamenot 3441b7a
Fix docstrings.
Gamenot 48c525b
Fix type failure.
Gamenot 0712cc8
Remove unused test
Gamenot da271ce
Fix tests.
Gamenot b115bea
Fix docstring test.
Gamenot 451800e
Add type-hints.
Gamenot 9383213
Fix issues.
Gamenot 7cf28b3
Switch to using engine configuration.
Gamenot 34f88be
Fix misreferenced sensor.
Gamenot 88bcb93
Remove unecessary xml changes.
Gamenot a306f36
Update changelog.
Gamenot 1d03f2c
Touch up changes to lane following controller.
Gamenot 3c240d1
Update changelog.
Gamenot 0d3e2fd
make format
Gamenot 5417926
Move sensor interface and implementations to sensor.py.
Gamenot f54fc8c
Ensure shudown test does not break.
Gamenot 7c5bd8e
Separate observation resolution implementations.
Gamenot aaa0568
Update based on master action space changes.
Gamenot fe48ef7
Fix docstrings.
Gamenot 95f4575
Update temporary engine settings.
Gamenot 8a4430b
Fix typing test.
Gamenot 775df20
Fix replace.
Gamenot d257bdd
Move sensors resolving implementations to appropriate locations.
Gamenot e29e318
Fix sanity tests.
Gamenot a83a6cb
Add ray based sensor resolver.
Gamenot 3cb509f
Fix pytype test.
Gamenot 4598817
Fix vehicle inde errors.
Gamenot 30a072d
Fix shutdown test.
Gamenot 9c52c58
Fix tests.
Gamenot f792bbc
Update changelog.
Gamenot e93d5e4
Revert "owner" role back to "actor" role.
Gamenot c792346
Make format
Gamenot 1769d5c
Fix tests.
Gamenot 545c9b9
Touch up scenario changes.
Gamenot dc1fe0b
Resolve todos.
Gamenot 305fbd3
Remove unused fields.
Gamenot fbef548
Fix test description
Gamenot 347b8fd
Let unpack be used for comparison.
Gamenot 7cc8366
fix tests
Gamenot af2427c
Update logging naming.
Gamenot fcee963
Ensure ray sensor resolver works.
Gamenot e6ba79c
Fix warnings and type errors.
Gamenot 7b442ac
Fix missing init files.
Gamenot 958746a
Add headers.
Gamenot fac1237
Add missing docstrings.
Gamenot 0c6b139
Fix changed method name.
Gamenot ce5aca5
make format
Gamenot 475cc1e
Address all comments.
Gamenot 018219a
Merge branch 'master' into tucker/feature-parallel_observations
Gamenot 165a3cb
Find issue with un-updated sensor.
Gamenot 4dad936
Fix issues.
Gamenot a367a75
Merge branch 'master' into tucker/feature-parallel_observations
Gamenot 28cb9f9
Fix base tests syntax.
Gamenot 7acd5a5
Fix test.
Gamenot 6a6632d
Remove excess prints.
Gamenot dcbc6d7
Clean up tests.
Gamenot 74fd2d2
Futher clean-up of code.
Gamenot 2770644
Remove redundant configuration.
Gamenot 03ec739
Install rllib on /examples and /env.
Gamenot b22fddb
Fix argument error.
Gamenot f610673
Fix ray test directory.
Gamenot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This updates
AgentType.Full
to have more observations.