Scenario-gym

Latest version: v0.4.5

Safety actively analyzes 641872 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

0.3.2

Minor bug fixes and chanegs:
* Fixes a couple of bugs in the `json` interface for `Scenario`.
* Adds a better error message when creating a road network with an invalid `OpenDRIVE` lane type.
* Adds a smoothing function for headings in `Trajectory`.

What's Changed
* add smoothing function for headings by LNS98 in https://github.com/driskai/scenario_gym/pull/32
* Develop by hamishs in https://github.com/driskai/scenario_gym/pull/33


**Full Changelog**: https://github.com/driskai/scenario_gym/compare/v0.3.1...v0.3.2

0.3.1

Major Changes
`Scenario` objects are now json serialisable.

Minor Changes
Minor bug fixes. Updated examples.

What's Changed

* v0.3.1 by hamishs in https://github.com/driskai/scenario_gym/pull/31


**Full Changelog**: https://github.com/driskai/scenario_gym/compare/v0.3.0...v0.3.1

0.3

Main changes:
Refactors the scenario representation to make it simulation agnostic. Now the `Scenario` object and its descendants (`Entity`, `Trajectory` etc) contain no simulation data or parameters. E.g. the current simulation time, the positions and velocities of entities, agents and historical poses. All simulation data is now stored in the `State` object. For example poses and velocities are accessed via:
python
ego = state.scenario.entities[0]
pose = state.poses[ego]

Each time a simulation is started a new `State` object is instantiated which will then contain all data from the simulation including historical times and poses. A simulation can be converted to a scenario via `state.to_scenario()`.

Minor changes
* `Agent`s do not have access to `State` inside `_step`. Now all information required by the agent must be passed into the `Observation` via the `Sensor`.
* `Observation` now is a dataclass.
* Adds `copy` and `deepcopy` methods of `Scenario`. Shallow copy will not deep copy the road network or catalog entries.
* `StateCallback`s now store information themselves rather than modifying the `State` object.
* Updates `scenario_gym` to use v2 of `shapely`. This allows faster processing for rendering and for collision detection and fixes bugs due to geometries not being hashable.


**Full Changelog**: https://github.com/driskai/scenario_gym/compare/v0.2.2...v0.3.0

0.3.0

0.2.2

What's Changed
* Develop by hamishs in https://github.com/driskai/scenario_gym/pull/27


**Full Changelog**: https://github.com/driskai/scenario_gym/compare/v0.2.1...v0.2.2

0.2.1

What's Changed
* Changes from main by hamishs in https://github.com/driskai/scenario_gym/pull/21
* Fix flicker by hamishs in https://github.com/driskai/scenario_gym/pull/22
* make the s based interpolation return the time as well as pose by LNS98 in https://github.com/driskai/scenario_gym/pull/23
* make the entity color dict a property by LNS98 in https://github.com/driskai/scenario_gym/pull/24
* Develop by hamishs in https://github.com/driskai/scenario_gym/pull/26


**Full Changelog**: https://github.com/driskai/scenario_gym/compare/v0.2.0...v0.2.1

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.