From b2bb32be44661508d6a164a8e55ab746898da505 Mon Sep 17 00:00:00 2001 From: Joel Moriana Date: Tue, 19 Jul 2022 11:41:45 +0200 Subject: [PATCH] Fixed global_percentage_speed_difference description --- Docs/python_api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Docs/python_api.md b/Docs/python_api.md index 175cbc41a..793da0dad 100644 --- a/Docs/python_api.md +++ b/Docs/python_api.md @@ -2381,12 +2381,12 @@ Forces a vehicle to change either to the lane on its left or right, if existing, - `direction` (_bool_) - Destination lane. __True__ is the one on the right and __False__ is the left one. - **global_percentage_speed_difference**(**self**, **percentage**) Sets the difference the vehicle's intended speed and its current speed limit. Speed limits can be exceeded by setting the `perc` to a negative value. -Default is 0. Numbers high enough to cause the vehicle to drive through other lanes might break the controller. +Default is 30. Exceeding a speed limit can be done using negative percentages. - **Parameters:** - `percentage` (_float_) - Percentage difference between intended speed and the current limit. - **global_lane_offset**(**self**, **offset**) Sets a global lane offset displacement from the center line. Positive values imply a right offset while negative ones mean a left one. -Default is 30. Exceeding a speed limit can be done using negative percentages. +Default is 0. Numbers high enough to cause the vehicle to drive through other lanes might break the controller. - **Parameters:** - `offset` (_float_) - Lane offset displacement from the center line. - **ignore_lights_percentage**(**self**, **actor**, **perc**)