Closed sync-by-unito[bot] closed 4 months ago
➤ Zdenek Plesek commented:
Should be implemented as a dynamic method of the edge class to be callable as edge.TrueToDeltaD(float TrueDistance) edge.DeltaDToTrue(float DeltaD)
Note that DeltaD is not bound between 0-1. DeltaD is always greater or equal 0.
Note that edge length is calculated at initialisation per the Edge class specification. Note that the constants should be implemented as a private static variable.
➤ Zdenek Plesek commented:
Collates edge-space and true-space velocity and edge-space and true-space distance
➤ Oscar Rilot commented:
scottdeverinne1 I can't find the edge public methods outlined in this card, can you point me to them?
Dependencies:https://trello.com/c/TvIBv6JP https://trello.com/c/VEsY8Rt5
This card details a method that translates distance from real space into edge space. This card also details calculation of DeltaD and DeltaD^(-1)
New edge constant:
New edge public methods
Length of edge is calculated as follows and should be already implemented as part of edge functionality:
The traveller should calculate its velocity as follows:let length of edge = ee*H = length of edge in kms (km/T) = speedOfVehicle \ _(1/60)^2 _ T This will give actual distance per ticks/e*HTherefore we can express the function translateFromTrueToDeltaD as:DeltaD = (speedOfVehicle_(T/3600)) / e_H
translateFromDeltaDToTruespeedOfVehicle = (DeltaD \ _e _ H) / (T/3600)
Specified by: Ted Proctor
Respecified by: Zdenek Plesek
Implemented by:
Validated by:
┆Issue is synchronized with this Trello card by Unito ┆Attachments: image.png