You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+12
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,8 @@ Copy and pasting the git commit messages is __NOT__ enough.
14
14
- The following methods now exist explicitly `Vehicle.{add_sensor|detach_sensor|subscribed_to|sensor_property|}`.
15
15
- Resources loaded with `load_yaml_config_with_substitution()` now substitute in SMARTS configuration with single squiggle bracket `${}` syntax. This is currently restricted to environment variable names prefixed with `"SMARTS_"`. This extends to benchmark configuration and vehicle configuration.
16
16
- Default vehicle definitions can be now modified using `assets:default_vehicle_definitions_list`/`SMARTS_ASSSETS_DEFAULT_VEHICLE_DEFINITIONS_LIST` or by providing a `vehicle_definitions_list.yaml` in the scenario. These vehicle types are related to the `AgentInterface.vehicle_type` attribute.
17
+
- New `CustomRender` agent interface option added. This allows using `glsl` fragment scripts to generate images from camera textures and simulation buffers.
18
+
- New `ObfuscationMap` agent interface option added. This uses the `OccupancyGridMap` to help generate an image of ground viewable area from the ego vehicle's perspective.
17
19
- There is now a centralized `TraCI` server mananger that can be used to prevent port collisions. It can be run using `python smarts.core.utils.sumo_server` and the use of the server can be enabled with `SMARTS_SUMO_TRACI_SERVE_MODE="central"`.
18
20
### Changed
19
21
-`VehicleIndex.build_agent_vehicle()` no longer has `filename` and `surface_patches` parameters.
@@ -30,6 +32,12 @@ Copy and pasting the git commit messages is __NOT__ enough.
30
32
-`Vehicle.build_agent_vehicle()` and `Vehicle.build_social_vehicle()` moved to `VehicleIndex`.
31
33
-`smarts.core.configuration.Configuration.get_settings()` now uses the `PyYAML` default instead of forcefully casting to `str`.
32
34
- Added `AgentInterface.vehicle_class` which allows selection of a dynamics vehicle from the vehicle definitions list file.
35
+
- Waypoints now have a `position` property (which will eventually replace `pos`).
36
+
- You must now implement `act()` for any agent inheriting from `smarts.core.agent.Agent`.
37
+
-`FunctionAgent` is now no longer dynamically defined.
38
+
-`Vias.hit_via_points` is now a property.
39
+
-`ViaPoint` now has an attribute `hit` which determines if the point has been "collected".
40
+
- Dependencies switched back to using `-` instead of `_` (e.g. "camera-obs").
33
41
### Deprecated
34
42
- Module `smarts.core.models` is now deprecated in favour of `smarts.assets`.
35
43
- Deprecated a few things related to vehicles in the `Scenario` class, including the `vehicle_filepath`, `tire_parameters_filepath`, and `controller_parameters_filepath`. The functionality is now handled through the vehicle definitions.
@@ -57,6 +65,8 @@ Copy and pasting the git commit messages is __NOT__ enough.
57
65
- The via sensor and trip meter sensor now work without a mission.
58
66
- Fixed a bug with `VehicleIndex.attach_sensors_to_vehicle()` that would generate an invalid plan.
59
67
- Fixed a bug where vehicle sensor meta attributes would reference the wrong vehicle.
68
+
- Resolved issue with road waypoints not showing waypoints if the horizon was larger than the start of the lane.
69
+
- Fixed an issue where `SMARTS.reset()` would be unable to render cameras.
60
70
- Squashed TraCI "retrying" stdout messages.
61
71
### Removed
62
72
### Security
@@ -126,6 +136,8 @@ Copy and pasting the git commit messages is __NOT__ enough.
126
136
- Interest vehicles now show up in Envision.
127
137
- Seed of `hiway-v1` env can be retrieved through a new property `seed`.
128
138
- Added `TrafficEngineActor` to describe a scenario studio defined actor that is controlled by a traffic engine.
139
+
- Docker images from now on out base from ``ubuntu:focal``.
140
+
- A new Docker image has been added for software rendering for use cases where there is no display and GPU.
129
141
### Changed
130
142
- Changed waypoints in sumo maps to use more incoming lanes into junctions.
131
143
- Increased the cutoff radius for filtering out waypoints that are too far away in junctions in sumo maps.
Note that ``mesa-utils`` installs ``llvm``, which is one option out of several that emulate ``OpenGL`` using software. ``llvm`` is not needed if a GPU is available.
36
+
37
+
4. Custom rendering and Obfuscation maps show completely blank. (Ubuntu)
38
+
This is due to needing ``OpenGL`` to render using scripts. If you have a GPU make sure ``OpenGL`` is installed and the GPU has the necessary drivers for rendering.
39
+
40
+
See the previous question if you need software rendering.
41
+
42
+
5. The simulation keeps crashing on connection in ``SumoTrafficSimulation``. How do I fix this?
29
43
This is likely due to using large scale parallelization. You will want to use the centralized management server. See :ref:`centralized_traci_management`.
0 commit comments