¿ªÔÆÌåÓý

Locked JMRI Jython programming question


 

Is there a straightforward way to send a specific speed step (i.e. 0-28 or 0-126) instead of a throttle value 0.0 to 1.0 to a throttle? I can't seem to find a place in the code where it will let me do that... My apology in advance if this is a stupid question.

I'm using?jmri.jmrit.automat.AbstractAutomaton
...
self.throttle.setSpeedSetting(1.0)

Thanks,

-Erich

Join [email protected] to automatically receive all group messages.