Skip to content
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

Add Maliput-based SimpleCar variant #5270

Closed
jwnimmer-tri opened this issue Feb 22, 2017 · 0 comments
Closed

Add Maliput-based SimpleCar variant #5270

jwnimmer-tri opened this issue Feb 22, 2017 · 0 comments
Assignees
Labels
type: feature request unused team: automotive This team is no longer active within this repository.

Comments

@jwnimmer-tri
Copy link
Collaborator

jwnimmer-tri commented Feb 22, 2017

We should make an agent car (System) that drives on Maliput.

I don't have a good name for this new System yet. We will have to figure one out.

Like SimpleCar, the System's sole input will be DrivingCommand (understood to be normalized accelerations like SimpleCar, not a velocity setpoint like car_sim_lcm).

The state will be the same as EndlessRoadCarState -- lane S/R position, S-relative heading, and speed.

One of the System's output ports will by the Isometry3d to feed into a PoseBundle; see @david-german-tri about exactly how this should work. We could also imagine a second output port with the a copy of the state, for logging / debugging purposes.

If we want to defer steering support, that's fine for a first PR. We can leave the lateral elements (R, heading) out of the state, and ignore the steering input. If we want to handle lateral motion, then EndlessRoadCar in kUser mode serves as a good example.

The system's constructor will be given a pointer to the needful Maliput elements to drive on -- possibly just a Lane* pointer.

In a first PR, the car can just stop when its Lane ends. (It only needs to operate on Dragway lanes, i.e., without any Branches.) In future PRs, it could declare a discrete event whose time is coincident with a branch choice, and just take the default branch all the time. The current Lane would thus turn into an abstract element of the declared state.

Edit: TBD -- first version without steering is the most useful, steering in R space is not relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature request unused team: automotive This team is no longer active within this repository.
Projects
None yet
Development

No branches or pull requests

2 participants