New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement a Multi-Lane Demo Using Hard-Coded Dragway #4990
Comments
Possibly the MOBIL lane-change model is a good candidate, to complement the IDM car model. |
... and for an earlier spiral of this, even multi-lane bonehead cars + SimpleCar ego car under key/joy control driving on the #4989 would be a big help. (In other words, we don't need agent planners in the first spiral.) |
Let's keep this issue about just the first spiral -- having a demo up and running, with either bonehead or IDM cars. The SimpleCar can drive around and lane-change, but the agents don't have to. I've filed #5113 about MOBIL as a possible second step. |
Now that #5038 is merged, I plan on starting work on this. My plan is to either use or mimic an EndlessRoadCar. |
Since #5032, which contains EndlessRoadCar, has not been merged into Here is the compile-time error I'm seeing when compiling @maddog-tri's "maliput-demo-carbits" branch, SHA e835de3:
|
@liangfok Are you able to make progress? I think EndlessRoadCoar gloms together too many concerns at once. I bet you could steal just the bonehead variant of it and get really far (+ SimpleCar) on a dragway. Or also the TrajectoryCar should be able to drive the dragway okay also (just create a single-segment path to feed it, that is manually lined up with the dragway lanes). |
I'm still studying the code; not sure yet whether I'm blocked. One concern I have is there's nothing in
I looked through #5032 and wasn't able to identify where the bonehead variant of it is defined. Can you provide a pointer?
Do you mean take Thanks for any help! |
For viz you can add a flat plane manually if you want. But otherwise, none of the Systems we're talking about needs RBT or a world at all.
The kNone control type.
Nope. It's a dragway. The bonehead cars can drive straight. It should be very easy to make a Curve2 with a single segment that aligns with the lane center (presumably we can just ask Maliput for the lane start and end in Geo (cartesian) space and then feed those into the Curve2 constructor. |
Alright, my plan is to create an executable that:
Does the above sound right? |
That's okay to start. We'll also want a SimpleCar (keyboard control) in there as well at some point. Can it just be another mode of |
Sure. I will try to make it so. |
(Jumping back a bit.) For the record, CI agrees with you that the PR doesn't compile. |
W.r.t. the PR not compiling, meh, works fine on xenial. (And, it is fixed for you and CI now, too. FWIW, it did compile in CI until, in response to review comments, I added Also, I have a |
@maddog-tri, thanks for fixing the bug. I will look into |
This will build upon #4989 . Perhaps using the "MOBIL" lane-change decision model.
This will also need a lane change planner. The planner could be as simple as specifying the time by which the car must be in the new lane.
The text was updated successfully, but these errors were encountered: