Class SubjectiveCar

    • Constructor Detail

      • SubjectiveCar

        public SubjectiveCar​(java.lang.String id,
                             GTUType type,
                             DirectedPoint initialLocation,
                             OTSRoadNetwork network)
                      throws SimRuntimeException,
                             GTUException,
                             java.rmi.RemoteException,
                             javax.naming.NamingException
        Parameters:
        id - String; car id
        type - GTUType; GTU type
        initialLocation - DirectedPoint; location
        network - OTSRoadNetwork; the network in which the subjective car will be registered
        Throws:
        GTUException - when GTU cannot be initialized
        SimRuntimeException - when operational plan execution or perception execution cannot be scheduled
        javax.naming.NamingException - when animation cannot be registered
        java.rmi.RemoteException - when animation context or simulator cannot be reached