Skip to content

Implement logic to handle express train #5

@patelpriyank

Description

@patelpriyank

Express train trips skip few stations but they still run on the same track through the same list of stations. Currently, our linear equation connects current station to its next station as straight line. This draws straight line between two express train trip stations missing intermediate stations, which in case, makes train look running out of train tracks. we just need to account for all intermediate stations for express train too.

improvements IMO

  1. adjust express train trips data in backend or UI and add intermediate stations.
  2. animate train's stopover time at each station with little bit of stop over time. this makes it look like train really stopped at station, waited for passengers to get on and out and then left.
  3. this way, if it's express train, it will pass through station without stop over while local trains do wait for some seconds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions