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 an new input element which forces vehicles to drive across a specified lane with a specified speed (trac #1020) #1020

Open
behrisch opened this issue Sep 5, 2013 · 7 comments

Comments

@behrisch
Copy link
Contributor

behrisch commented Sep 5, 2013

This works similar to a stop but with speeds > 0
The speed should be kept while the vehicle is between startPos and endPos.

Among other things this gives fine grained control over vehicle trajectories without using TraCI.

Migrated from http://sumo.dlr.de/ticket/1020

{
    "status": "new", 
    "changetime": "2014-05-26T08:01:08Z", 
    "description": "This works similar to a stop but with speeds > 0\nThe speed should be kept while the vehicle is between startPos and endPos.\n\nAmong other things this gives fine grained control over vehicle trajectories without using TraCI.", 
    "reporter": "namdre", 
    "cc": "", 
    "resolution": "", 
    "_ts": "1401091268508388", 
    "component": "simulation data input", 
    "summary": "add an new input element which forces vehicles to drive across a specified lane with a specified speed", 
    "priority": "major", 
    "keywords": "", 
    "time": "2013-09-05T10:33:46Z", 
    "milestone": "1.1.0", 
    "owner": "", 
    "type": "enhancement"
}
@behrisch
Copy link
Contributor Author

behrisch commented Sep 5, 2013

@namdre commented:

would it be better to invent a new element which has no duration/until attribute and only ''speed'' but resolves to the same data structures internally?

@behrisch
Copy link
Contributor Author

behrisch commented Sep 5, 2013

  • @namdre changed description from:

The speed for a stop should default to 0 but it should also be possible to set arbitry speeds including the symbalic value "max".

When giving speeds other than 0, the duration of the stop is ignored (should become optional) but the speed should be kept while the vehicle is between startPos and endPos.

Among other things this gives fine grained control over vehicle trajectories without using TraCI.

to:

This works similar to a stop but with speeds > 0
The speed should be kept while the vehicle is between startPos and endPos.

Among other things this gives fine grained control over vehicle trajectories without using TraCI.

  • @namdre changed summary from "add an optional ''speed'' attribute to stop elements" to "add an new input element which forces vehicles to drive across a specified lane with a specified speed"

@behrisch
Copy link
Contributor Author

behrisch commented Sep 5, 2013

@namdre commented:

suggested name: <waypoint>

@behrisch
Copy link
Contributor Author

behrisch commented Sep 5, 2013

@behrisch changed milestone from "0.21.0" to "1.1.0"

@namdre
Copy link
Contributor

namdre commented Apr 11, 2019

I think it makes sense to use SUMOVehicleParameter::Stop and all the other stop infrastructure to implement this.

@behrisch behrisch removed this from the 1.2.0 milestone Jun 1, 2019
namdre added a commit that referenced this issue Sep 3, 2019
@behrisch
Copy link
Contributor Author

also some kind of special value like speed="max" or speed="current" would be nice

@namdre
Copy link
Contributor

namdre commented Aug 8, 2022

setting speed="1000" has this effect. I agree that a special input value would look nicer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants