New iteration on Ja comments

This commit is contained in:
sergi-e 2020-09-21 23:48:17 +02:00 committed by Marc Garcia Puig
parent 017f8e3290
commit aa2d37a124
3 changed files with 5 additions and 5 deletions

View File

@ -2037,9 +2037,9 @@ With hybrid physics on, changes the radius of the area of influence where physic
- **Parameters:**
- `r` (_float<small> meters</small>_) New radius where physics are enabled.
- <a name="carla.TrafficManager.set_osm_mode"></a>**<font color="#7fb800">set_osm_mode</font>**(<font color="#00a6ed">**self**</font>, <font color="#00a6ed">**mode_switch**=True</font>)
Enables or disables the OSM mode. This mode fixes a bug when running a map created with the [OSM feature](tuto_G_openstreetmap.md). These maps usually have roads with abrupt ends (borders when the map is outlined). Vehicles cannot find the next waypoint, causing the TM to crash. When OSM mode is enabled, vehicles will be destroyed when no next waypoint is found.
Enables or disables the OSM mode. This mode allows the user to run TM in a map created with the [OSM feature](tuto_G_openstreetmap.md). These maps allow having dead-end streets. Normally, if vehicles cannot find the next waypoint, TM crashes. Now it throws an exception, warning the user to activate <code>set_osm_mode</code> and then stops.
- **Parameters:**
- `mode_switch` (_bool_) If __True__, the OSM is enabled.
- `mode_switch` (_bool_) If __True__, the OSM mode is enabled.
---

View File

@ -101,7 +101,7 @@ Either way, the map should be ingested automatically in CARLA and the result sho
<div style="text-align: right"><i>Outcome of the CARLA map generation using OpenStreetMap.</i></div>
!!! Warning
The roads generated end abruptly in the borders of the map. This will cause the TM to crash when vehicles are not able to find the next waypoint. Temporarily, to workaround this bug, use [set_osm_mode()](python_api.md#carlatrafficmanager) to enable de OSM mode. This will destroy the vehicles when no next waypoint is found.
The roads generated end abruptly in the borders of the map. This will cause the TM to crash when vehicles are not able to find the next waypoint. Use [set_osm_mode()](python_api.md#carlatrafficmanager) to enable de OSM mode. This will destroy the vehicles when no next waypoint is found.
---

View File

@ -449,9 +449,9 @@
type: bool
default: true
doc: >
If __True__, the OSM is enabled.
If __True__, the OSM mode is enabled.
doc: >
Enables or disables the OSM mode. This mode fixes a bug when running a map created with the [OSM feature](tuto_G_openstreetmap.md). These maps usually have roads with abrupt ends (borders when the map is outlined). Vehicles cannot find the next waypoint, causing the TM to crash. When OSM mode is enabled, vehicles will be destroyed when no next waypoint is found.
Enables or disables the OSM mode. This mode allows the user to run TM in a map created with the [OSM feature](tuto_G_openstreetmap.md). These maps allow having dead-end streets. Normally, if vehicles cannot find the next waypoint, TM crashes. Now it throws an exception, warning the user to activate <code>set_osm_mode</code> and then stops.
# --------------------------------------
- class_name: OpendriveGenerationParameters