From aa2d37a12481144820df899ae750fa6d0cff0348 Mon Sep 17 00:00:00 2001 From: sergi-e Date: Mon, 21 Sep 2020 23:48:17 +0200 Subject: [PATCH] New iteration on Ja comments --- Docs/python_api.md | 4 ++-- Docs/tuto_G_openstreetmap.md | 2 +- PythonAPI/docs/client.yml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Docs/python_api.md b/Docs/python_api.md index b78d98200..b3c556c10 100644 --- a/Docs/python_api.md +++ b/Docs/python_api.md @@ -2037,9 +2037,9 @@ With hybrid physics on, changes the radius of the area of influence where physic - **Parameters:** - `r` (_float – meters_) – New radius where physics are enabled. - **set_osm_mode**(**self**, **mode_switch**=True) -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 set_osm_mode and then stops. - **Parameters:** - - `mode_switch` (_bool_) – If __True__, the OSM is enabled. + - `mode_switch` (_bool_) – If __True__, the OSM mode is enabled. --- diff --git a/Docs/tuto_G_openstreetmap.md b/Docs/tuto_G_openstreetmap.md index 9f3c90c9e..4abb2d56b 100644 --- a/Docs/tuto_G_openstreetmap.md +++ b/Docs/tuto_G_openstreetmap.md @@ -101,7 +101,7 @@ Either way, the map should be ingested automatically in CARLA and the result sho
Outcome of the CARLA map generation using OpenStreetMap.
!!! 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. --- diff --git a/PythonAPI/docs/client.yml b/PythonAPI/docs/client.yml index 5f27284ca..23eba0374 100644 --- a/PythonAPI/docs/client.yml +++ b/PythonAPI/docs/client.yml @@ -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 set_osm_mode and then stops. # -------------------------------------- - class_name: OpendriveGenerationParameters