In some cases train gets stuck instead of coupling

Bug #1453574 reported by Carlo Santucci
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Rails
Fix Released
Undecided
Carlo Santucci

Bug Description

By building some activities I found at least two cases where a train got stuck instead of coupling.
Two sample activities are attached to show this.
In attached activity Passivecoupling3rev.apk there is a WP before coupling, as usual in activites built for MSTS. The loco stops at the WP and does not restart.
In attached activity Passivecoupling3_shortdistance.apk the coupling loco isn't yet in the route section where coupling should occur, when tests for execution of coupling are performed. Therefore the coupling loco continues toggling between two states without advancing towards coupling.

Tags: ai
Revision history for this message
Carlo Santucci (carlosanit1) wrote :
Revision history for this message
Carlo Santucci (carlosanit1) wrote :
Changed in or:
assignee: nobody → Carlo Santucci (carlosanit1)
Revision history for this message
Carlo Santucci (carlosanit1) wrote :

A patch has been generated for this.

Changed in or:
status: New → In Progress
Revision history for this message
Carlo Santucci (carlosanit1) wrote :

The case of the WP before coupling has been handled separately in https://bugs.launchpad.net/or/+bug/1453665 and fixed in x3075.

Revision history for this message
Carlo Santucci (carlosanit1) wrote :

The patch for the only case related to Passivecoupling3_shortdistance.apk has been reduced to the patch attached here (more complex patch above cared also about other cases).

Revision history for this message
Carlo Santucci (carlosanit1) wrote :

Fixed in x3076.

Changed in or:
status: In Progress → Fix Committed
James Ross (twpol)
Changed in or:
milestone: none → 1.0
James Ross (twpol)
Changed in or:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.