Class TrafficLightSensorAnimation

    • Constructor Detail

      • TrafficLightSensorAnimation

        public TrafficLightSensorAnimation​(TrafficLightSensor sensor,
                                           org.opentrafficsim.core.dsol.OTSSimulatorInterface simulator)
                                    throws NamingException,
                                           RemoteException,
                                           org.opentrafficsim.core.geometry.OTSGeometryException
        Construct a SensorAnimation.
        Parameters:
        sensor - TrafficLightSensor; the traffic light sensor that will be animated
        simulator - OTSSimulatorInterface; the simulator to schedule on
        Throws:
        NamingException - in case of registration failure of the animation
        RemoteException - in case of remote registration failure of the animation
        org.opentrafficsim.core.geometry.OTSGeometryException - when the geometry is bad