Skip to content

Point can be moved even if the paired point is still being crossed by a train #54

@Sharpe49

Description

@Sharpe49

When paired points are crossed, when the first one is freed by the train, a route can be set on the freed point which leads to this situation:
image
The second point has moved even if the train is on it.
image
And when the train continues to run, the track behind the train stays occupied.

I tried to do something in the route manager, but the fact that the point position is not stored in PointsItem makes it really difficult to implement the check.
Another way to avoid this situation would be to implement transits (FR) or subroutes (UK) which will lock the point while the transit (or subroute) is active. The transit (or subroute) will be freed when both the previous transit (or subroute) is freed and the track is free.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions