It can be done in Java. I? fact, I am doing something in Java on topmof JMRI that has train lengths (standard jmri doesn't have it for running trains, only for the relatively stand-alone "operations"). Using the information for positioning is not at all straightforward, though, because the positioning "brains" must at all times be aware of speed changes, too. A further complication is, that this would be relatively easy for standard trains, but when adding and removing wagons the overhead of people having to add those changes to the "train" (a concept not present in java!) is considerable unless it can be automated with strategically placed RFID units. So a layout that uses unchanging passenger trains would be better served than one with lots of shunting of goods trains. In short: it sounds much easier than it is. Wouter On Wed, 19 Mar 2025, 00:28 p.lavers via , <p.lavers=[email protected]> wrote:
|