I wish to automate a demonstration layout so that trains keep moving even when I'm talking to visitors.
I've 'researched' the scripts provided in the JMRI Github project and have a script that works-ish.
So far so good.
I've cloned the JMRI Github project into IntelliJ IDEA.? The parsers are happy with Jython (as you would expect) but 'sensors' and 'turnouts' are flagged as unresolved references.? The suggested fix is to import sensors from jython.jmri_bindings but although that stops the whinge at the sensors.provideSensor(...) the import line flags 'jython' and 'sensors' as unresolved references.
What have I omitted to configure in IntelliJ ?? Is there a preferred IDE for JMRI ?
I'm using an iMac running macOS Mojave 10.14.6 (no, I haven't moved to Catalina yet)
TIA
--
Mark Thornber