-
|
Hello, Is it possible to cancel a command to stop a vehicle in a certain position already called? For example, if a flag was activated the vehicle would no longer stop at the position. IRoadPosition roadPosition = RoadPositionFactory.createAtEndOfRoute( Collections.singletonList(getOs().getRoadPosition().getConnection().getId()), 0); |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
|
To cancel a previously issued stop, you'd need to call the stop command again with the same (equal) road position but with a time of 0. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @kschrab and @schwepmo, I have a similar Issue as I want to override the changeSpeedWithInterval command. Scenario:
Is there a possibility to fully override or cancel the first changeSpeedWithInterval command, so that it does not interfere with new comands? Thanks in advance! :) |
Beta Was this translation helpful? Give feedback.
To cancel a previously issued stop, you'd need to call the stop command again with the same (equal) road position but with a time of 0.