开云体育

Locked Re: Add Numerical Display to Spped Table


 

At 4:27 PM +1200 7/27/02, Alex Shepherd wrote:
> That sounds like a big improvement over the way I left it. Could you
commit those changes?
Done, I hope changing the field width from 4 to 3 did not break something
else...
Thanks. I'll run that through the tests for this weekend's update.


c) A new "Speedometer" tool, available under the Development menu in
the JmriDemo program. It times the interval between two input
sensors going inactive or active and converts that to scale MPH.
Still rudimentary, but I wanted to see how well it would actually
work. Note that senors only work with LocoNet now; NCE/Lenz feedback
is polled, and I don't have any code to do that.
Is this the begginings of what I was talking about a while ago about
automatically being able to calibrate your loco speed table so the the
throttle indicates scale MPH?
It is, but really only the beginning.

I don't yet understand how people will actually use something like this while programming. Any kind of iterative procedure to find the value for all 28 speed steps would take a _long_ time, and I'm not sure it's worthwhile. For a single value it could work, though I'm not sure how linear the typical locomotive is.

Mostly I'd like to play with it when I get some time on the layout, and encourage other people to do that too.

Bob
--
--------------
Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957)

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