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

Change Velocity to Speed in GTU methods

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Priority: Medium
    • Resolution: Unresolved
    • Labels:
      None

      Description

      Several methods in the base GTU use a getVelocity while they return a Speed.

      The generally accepted difference between a speed and a velocity is that a speed is a scalar, whereas a velocity is a vector (directed speed). In our case, we do not return vectors of speed, but a scalar, so the methods should be called get Speed() instead of getVelocity().

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 30 minutes
                30m
                Remaining:
                0m
                Logged:
                Time Not Required
                Not Specified