Commonroad-io

Latest version: v2024.2

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

Scan your dependencies

Page 2 of 3

2022.3

Added

- Drawing parameters as dataclasses (support for context help)
- Documentation for drawing parameters
- Support for Python 3.11
- Function to convert a state into a 1D-numpy array
- Progress bar for video creation
- Callback for modifying axes during plotting a video

Changed

- Name of position in lateral and longitudinal state

Removed

- ParamServer and dictionary specification of drawing parameters

Fixed

- Failing visualization of a trajectory at it's initial time step
- Broken lanelet visualization with matplotlib >3.5

2022.2

Added

- Function for getting lanelet orientation closest to a given position
- Function for getting most likely lanelet given an obstacle state
- Function for erasing lanelet network from scenario
- Function for replacing lanelet network of a scenario with new one
- Support for Protobuf format
- Predefined classes for specific states, point-mass model, kinematic single-track model, etc.
- Function for computing shape group occupancy from state
- Support for kinematic single-track model with one on-axle trailer
- Three new lanelet types: parking, border, and restricted

Changed

- Move tests, tutorial, and documentation folder to root directory
- State classes in separate Python file

Removed
- setter method for lanelet network in scenario class

Fixed

- Default constructor for ScenarioID produces invalid Benchmark ID
- Changeable state list leads to inconsistent final time step of trajectory
- Various small bug fixes

2022.1

Added

- Video creation with custom draw parameters
- Obstacle icon with custom color

Changed

- Remove support for Python 3.6

Fixed

- Side-effect circle and rectangle init functions
- Parsing solution files with old time format
- Invalid lanelet occupancy computation using buffered polygons
- Various small bug fixes

2021.4

Added

- Polyline utility functions, e.g., resampling, path length, orientation, curvature, intersection
- `__eq__` and `__hash__` functions for LaneletNetwork and related classes (e.g., traffic sign, traffic light, stop
line, etc.)
- Compatibility for Shapely 2.0
- New traffic signs for Germany

Changed

- License switched to BSD-3
- Date in solution file now stored in the dateTime format (`%Y-%m-%dT%H:%M:%S`)

Fixed

- Various small bug fixes

2021.3

Added

- Spatial indexing via STRTree in LaneletNetwork for faster computation of lanelet queries via positions or shapes

Changed
- The function LaneletNetwork.create_from_lanelet_network accepts now a shape
and set of lanelet types which should be excluded
- Shapely polygon for lanelets is created by default
- Function convert_to_polygon() within Lanelet class is deprecated
and will be removed in the next release

Fixed
- Various small bug fixes

2021.2

Added
- Parameter `draw_params={"focus_obstacle_id": obstacle_id}` focuses the plot or video on a dynamic_obstacle
- About 150 new traffic signs from Germany, Spain, and US added
- added new cost function TR1 to SolutionWriter

Fixed
- Various small bug fixes

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.