-
Notifications
You must be signed in to change notification settings - Fork 30
Vehicle Playback
Given CSV-formatted output from a previous run of data through the inference engine or raw output from on-bus hardware, the Vehicle Playback simulator will reprocess the data and display/compare the outputs. This is useful, for example, in cases where the system parameters are adjusted to improve behavior--a bus which was inferred poorly with the previous parameters can be tested with new parameters to see if it will perform better with appropriate algorithm changes. The integration tests do this in an automatic way to verify correctness of the system, but sometimes it's important to run a trace manually for verification or other purposes.
Things to keep in mind:
- The inference algorithm is probabilistic. Results will not match exactly across different runs.
- Results should only be compared to those with the same bundle. You cannot compare results generated with the same or different code using different bundles. Bundles must match.
Colors
- blue - predicted in-progress
- grey with black dot - out-of-service
- grey with a red dot - an in-service DSC but not predicted to be in-service
Input | Purpose |
---|---|
File | The input file ("trace"). Usually previously gathered Inference Engine output |
Run in real-time |
|
Pause on start | Allows user to load the trace and then step instantly to a record other than the first one. |
Shift start time to now | Changes the dates in the trace to the current time, so you can run the trace against a bundle other than the one it was originally created for, or see the service on the map without changing any of the timestamps to reflect the traces actual dates. |
Minimum record interval | Records coming less than N seconds after the previous record will be pruned. |
Bypass inference | Bypass inference engine and pass vehile location records directly to the transit data federation. Assumes "actual" ground-truth info is set in the trace. |
Fill Ground-truth | Use the results of inference to fill in the ground-truth fields of the trace output. |
Loop | Loop and restart the trace upon completion. |
Trace type |
Select the format of the input trace.
|
When "Submit" is pressed, the trace will be passed to this inference engine and re-run. The page will refresh and display the trace and the simulator's progress. Clicking "Map" will open a map with the new inference output displayed. Clicking "Records" will open a page displaying the output in tabular form.
This page displays the output of the inference engine with the trace. Each record is displayed with available data for:
- Record #
- Time
- Vehicle Id
- Reported Run
- Lat/Lon
- DSC
- Inf. DSC
- Actual Trip
- Inf. Trip
- Actual Sched. Time
- Inf. Sched. Time
- Actual Phase
- Inf. Phase
- Inf. Status
- Actual Distance Along Block
- Inf. Distance Along Block