Package org.opentrafficsim.aimsun
Class AimsunControl
- java.lang.Object
-
- org.opentrafficsim.aimsun.AimsunControl
-
public class AimsunControl extends Object
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version Apr 18, 2017
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
-
Constructor Summary
Constructors Constructor Description AimsunControl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(String[] args)
Program entry point.protected void
sendGTUPositionsToAimsun(OutputStream outputStream)
Construct a GTU positions message, clear the simulateUntil value, transmit all GTU positions to Aimsun and wait for the simulateUntil value to be set again.
-
-
-
Method Detail
-
main
public static void main(String[] args) throws NetworkException, OTSGeometryException, NamingException, ValueRuntimeException, ParameterException, SimRuntimeException
Program entry point.- Parameters:
args
- String[]; the command line arguments- Throws:
OTSGeometryException
- on errorNetworkException
- on errorNamingException
- on errorValueRuntimeException
- on errorSimRuntimeException
- on errorParameterException
- on error
-
sendGTUPositionsToAimsun
protected void sendGTUPositionsToAimsun(OutputStream outputStream)
Construct a GTU positions message, clear the simulateUntil value, transmit all GTU positions to Aimsun and wait for the simulateUntil value to be set again.- Parameters:
outputStream
- OutputStream;
-
-