Package org.opentrafficsim.aimsun
Class AimsunControl
java.lang.Object
org.opentrafficsim.aimsun.AimsunControl
public class AimsunControl
extends java.lang.Object
Copyright (c) 2013-2019 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
Modifier and Type Method Description static void
main(java.lang.String[] args)
Program entry point.protected void
sendGTUPositionsToAimsun(java.io.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.
-
Constructor Details
-
AimsunControl
public AimsunControl()
-
-
Method Details
-
main
public static void main(java.lang.String[] args) throws NetworkException, OTSGeometryException, javax.naming.NamingException, ValueRuntimeException, ParameterException, SimRuntimeExceptionProgram entry point.- Parameters:
args
- String[]; the command line arguments- Throws:
OTSGeometryException
- on errorNetworkException
- on errorjavax.naming.NamingException
- on errorValueRuntimeException
- on errorSimRuntimeException
- on errorParameterException
- on error
-
sendGTUPositionsToAimsun
protected void sendGTUPositionsToAimsun(java.io.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;
-