-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing speed steps in JMRI crashes ED on MCII #225
Comments
@SonnysHansen I'm not aware of any interaction between the JMRI Throttle Window and Engine Driver. Can you be specific with the steps you're taking to see this? |
Yesterday I was visiting an H0 US train club, to show my ESU MCII working with Engine Driver app. |
Update: I figured out how to change the speed steps in the JMRI Throttle window. |
@SonnysHansen I don't see this crash reported to the Play Store. Are you running the production version of EngineDriver 2.18.1 installed from the Play Store? |
Yes! my version is 2.18.1 |
Do I have to rapport it, when Engine Driver crash on my ESU MCII? |
Thanks, @SonnysHansen that detailed narrative is very helpful. Also thanks for verifying it happens with the Lenz Simulator, as I doubt that the developers who have MCII's also have Lenz hardware. |
@mattharris
I connected ED on the MC II to my Digitrax system, set a loco to 28 step mode using a JMRI throttle, acquired the same loco on ED and was able to crash ED by moving the speed slider. Did the same thing and used only the speed Knob and ED did not crash, however the speed scaling is incorrect and the speed shown in JMRI with the Knob at max rotation was step 6.
@mstevetodd You should get a crash report.
I tried the same test using ED on my phone and it worked fine. No crashes, speed value as expected. When I increased the speed on the phone (or the JMRI throttle), eventually the MC II showed the correct speed. For instance I increased the speed to full throttle everything showed a speed of 27. However if I then reduced the speed using the Knob on the MC II the speed immediately dropped to 6.
So it appears that the ED MC II throttle code is not scaling properly based on the speed step.
|
@mattharris Another issue I noticed while testing is that the Knob is not rotated in response to external speed changes. For instance if I change the speed using a JMRI throttle, the displayed speed in ED on the MC II changes however the Knob doesn't move. If I change the speed using the slider in ED on the MC II, the Knob does move to track the change. |
We've another user report of this same issue. |
Just a quick update to say that I'm still working on identifying the root cause for this, but it looks to be in the way we deal with the speed step response from the WiThrottle server and not correctly considering the ESU Throttle Scaling setting. Still need to debug directly on a device which is taken a bit longer due to some problems I had in my dev environment (now fixed). |
I have discovered a strange behavior on my ESU MCII with Engine Driver app.
When I use a throttle from JMRI with the same engine number as on ESU MCII, and set speed step in JMRI throttle to 28, then the Engine Driver app is crashing.
It looks like the ESU MCII with the Engine Driver app can´t handle 28 speed steps.
Sonny.
The text was updated successfully, but these errors were encountered: