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

edit to add until parameter into setStop function in TraaS #5710

Conversation

@YenKang
Copy link

commented Jun 4, 2019

Add edited codes in Vehicle.java and Traci.java to finish "until" function in setStop

String edge1 = "41389174#2";
double pos1 = 10.0;
double until_1 = 500.0;
SumoStopFlags sf1 = new SumoStopFlags(false, false, false, false, false);
conn.do_job_set(Vehicle.setStop("1", edge1 , pos1, (byte)0,  0.0,  sf1, pos1, until_1));
}

100s-stop

@behrisch

This comment has been minimized.

Copy link
Contributor

commented Jun 4, 2019

Thanks for the pull request but shouldn't the code modify setStop instead of setParkingAreaStop?

@YenKang

This comment has been minimized.

Copy link
Author

commented Jun 5, 2019

I tried to make it work in setStop function first, and setParkingAreaStop maybe have the similar logic.

@namdre namdre closed this in f036954 Jun 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.