FEAT: Handle PPU rotor state to filter dark frames
Handle the PPU rotor state in addition to the PPU triggers.
Description
In addition of the trigger mode, the PPU can be left open for a given duration. This can be checked from the rotor position state. This reduce further the overall /proc data by only correcting trains where the PPU is open even when not in trigger mode.
Additionally a small change to give priority to manually selected train Ids over PPU selection if manual selection is given.
How Has This Been Tested?
Not fully tested yet.
Relevant Documents (optional)
Types of changes
- New feature (non-breaking change which adds functionality)
Checklist:
- My code follows the code style of this project.
Reviewers
Edited by Thomas Michelat