-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds support for E-Stop query to trains. (#483)
- Makes the DCC train objects remember that they were set to estop speed. - Correctly implements get_emergencystop() on them. - Makes the Traction Service fill in the is_estop bit in the Get Speed Response payload. - Updates the API that parses the Get Speed Response payload to be able to produce the is_estop bit. - Adds support to the TractionThrottle for querying estop. Verifies that estop state is correctly queried during load and updated when listener commands arrive. - Fixes estop handling bug in TractionTestTrain. === * Adds support for E-Stop query to trains. - Makes the DCC train objects remember that they were set to estop speed. - Correctly implements get_emergencystop() on them. - Makes the Traction Service fill in the is_estop bit in the Get Speed Response payload. - Updates the API that parses the Get Speed Response payload to be able to produce the is_estop bit. * Adds support to the TractionThrottle for querying estop. Verifies that estop state is correctly queried during load. Fixes estop handling bug in TractionTestTrain. * Adds test to verify that speed replies from the listener protocol correctly clear the estopActive_ in the throttle client cache.
- Loading branch information
1 parent
f0f8e5b
commit 16eb593
Showing
8 changed files
with
122 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters