Uploaded image for project: 'OpenTrafficSim'
  1. OpenTrafficSim
  2. OTS-255

Infrastructure should know its network and the simulator

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: High
    • Resolution: Unresolved
    • Labels:
      None
    • Sprint:
      Sprint 9 (Version 0.14)
    • Organization:
      Generic
    • Java Project:
      generic

      Description

      In order to clone the animation, the infrastructure elements need access to their simulator. We had problems with this before by not being able to locate the simulator from the network. It seems easiest to provide the CrossSectionLink with the simulator, as lots of dynamic things happen on the CrossSectionLink (e.g., sensors, traffic lights). Additionally, it would be ideal if each CrossSectionLink would know about the network in which it is registered. These are added to the constructor of the OTSLink and translate on to the CrossSectionLink.

        Attachments

          Activity

            People

            • Assignee:
              averbraeck Alexander Verbraeck
              Reporter:
              averbraeck Alexander Verbraeck
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 30 minutes
                30m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 30 minutes
                30m