Hello Antoine,
Perhaps the confusion is coming in because there are two kinds of
predictions OBA uses--time and location.
First location: OBA /can/ interpolate a vehicle's position for times
that are in between actual reports from the vehicle--I believe it uses
a simple schedule-based interpolation strategy (that takes into
account schedule deviation). The code for that is, I believe,
ultimately here (it passes through many layers before getting to the
user):
https://github.com/OneBusAway/onebusaway-application-modules/blob/master/onebusaway-transit-data-federation/src/main/java/org/onebusaway/transit_data_federation/impl/blocks/ScheduledBlockLocationServiceImpl.java
called from here:
https://github.com/OneBusAway/onebusaway-application-modules/blob/master/onebusaway-transit-data-federation/src/main/java/org/onebusaway/transit_data_federation/impl/realtime/BlockLocationServiceImpl.java#L729
And then there's time. Time-based predictions come from another
external system (OBA integrates with a few common ones). Same with the
MTA version. Both OBA and MTA OBA do no time-based predictions
themselves. So it's entirely possible to have the vehicle's location
appear in one place, and a time-based arrival be generated on another
assumption, though you'd hope the two are receiving the same inputs
and therefore are consistent with each other.
I'm not sure if that answers your question, or if I've understood it
properly, but hope that helps,
-Jeff
> --
> You received this message because you are subscribed to the Google Groups
> "onebusaway-developers" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/onebusaway-developers/-/hq_3Jlkti7UJ.
>
> To post to this group, send email to
onebusaway...@googlegroups.com.
> To unsubscribe from this group, send email to
>
onebusaway-devel...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/onebusaway-developers?hl=en.
--
Jeff Maki
OpenPlans Transportation
917-388-9088
jm...@openplans.org