- changed status to on hold
[Meta] RNDF with multiple lanes in one segment for Maliput
Make an example like Dragway in which there are a number of X lanes in one segment and one car on each lane that follows the complete path.
Start by a straight line sample (2 control points with the same tangents) and then move to a sampled piece of an arc and other complex curves.
We need to use ignition-math from: https://bitbucket.org/ekumen/ign-math/commits/a5314ce4bea1a1dd5112ce9f815222e556b29d4a?at=spline_improvements
Comments (15)
-
reporter -
reporter - edited description
- changed title to RNDF with multiple lanes in one segment for Maliput
- removed component
-
reporter - changed status to open
-
reporter From implementing
do_to_left()
anddo_to_rigth()
(whose docs can be seen here) there is a possible corner case. Maliput's API doesn't define a place along the curve whereto_left
orto_right
methods should be evaluated and that's a problem when having a segment like the following:Current approach compares the positions of the initial point of the lane (s = 0 in Lane coordinates). That approach is not valid for the previous case, in which the left lane should be null at 1.2.3 and the right lane should be null at 1.2.1. Another case is shown below:
Following the change in direction of the lane 1.1, lane 1.2 is on its left but based on the initial points (positions of 1.1.1 and 1.2.1) lane 1.2 is on 1.1's right.
I would keep the following approach as the API does not provide any extra information to evaluate it.
-
Ah, nice one! I would share this with TRI on Slack to get feedback and in the meantime assume that if we have a lane on the left (or the right), even if it does not hold for the whole lane, we should retrieve that. Also note that we will face a similar issue when dealing with OpenDrive, where lanes can be spawned/merged at any point of a road.
-
reporter Created sub-issues:
-
reporter - changed title to [Meta] RNDF with multiple lanes in one segment for Maliput
-
reporter - changed status to new
-
reporter - changed status to open
-
reporter Already finished the three previous tasks. Code has been updated into https://github.com/ekumenlabs/drake/tree/Issue/RNDF_Maliput_Implementation , commit hash: 6d351413b9712992de5954f93dc7c1b07c8dc65b
-
reporter - changed status to new
-
reporter Found a bug --> issue
#142and its child issues -
reporter - changed status to open
-
reporter - changed status to closed
I'm going to close this as we have already closed all the child issues.
-
reporter - changed status to resolved
- Log in to comment