Interface LaneGetLength

    • Method Detail

      • execute

        Double execute​(Bridge bridge,
                       String laneId)
                throws CommandException,
                       InternalFederateException
        This method executes the command with the given arguments and returns the length of the lane.
        Parameters:
        bridge - Connection to SUMO.
        laneId - Id of the lane.
        Returns:
        The length of the lane.
        Throws:
        CommandException - if the status code of the response is ERROR. The connection to SUMO is still available.
        InternalFederateException - if some serious error occurs during writing or reading. The connection to SUMO is shut down.