From 9e4eaf3e4725c257ba0f341d2717425680b4ed97 Mon Sep 17 00:00:00 2001 From: bernatx Date: Fri, 31 Jan 2020 17:09:09 +0100 Subject: [PATCH] Updating the docs --- PythonAPI/docs/map.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/PythonAPI/docs/map.yml b/PythonAPI/docs/map.yml index 7ae9832e1..39c5f823c 100644 --- a/PythonAPI/docs/map.yml +++ b/PythonAPI/docs/map.yml @@ -184,6 +184,24 @@ This can be used like a flag: `LaneType.Driving & LaneType.Shoulder` return: carla.Waypoint # -------------------------------------- + - def_name: get_waypoint_xodr + doc: > + Get a waypoint if all the parameters passed are correct, otherwise return None + params: + - param_name: road_id + type: int + doc: > + Id of the road from where getting the waypoint + - param_name: lane_id + type: int + doc: > + Id of the lane to get the waypoint. + - param_name: s + type: float + doc: > + Specify the length from the road start + return: carla.Waypoint + # -------------------------------------- - def_name: get_topology doc: > It provides a minimal graph of the topology of the current OpenDRIVE file.