Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- Jmriusers
- Messages
Search
Locked
Re: Why are the function fields blank in decoder pro?
Thanks for all the replies Dave, I got the locos on eBay so I don¡¯t know about my chances for finding the project info. ?I guess the way to proceed is to POM and experiment.
|
Locked
Re: Engine Driver Problem
Steve,
Tried your suggestion with no effect.? I noticed that, before the panel loads, there is a message that "WebSockets are disabled"; is that what your suggestion was hoped to overcome or is it a different problem/setting? Thanks, Harold. |
Locked
Engine Driver Suggestion
Steve:
First off, your contributions to JMRI via Engine Driver are extraordinary and to be commended.?? I use the Engine Driver app regularly and find it more than satisfactory for use on my Digitrax powered layout. A thought that might be considered a suggestion:? I just received one of the ProtoThrottles and it is a game changer as far as running the layout.?? Have you (or would you) consider a PT type control layout as an option to Engine Driver??? Something along these lines:? 1)? Replace the slider control with a discrete 9 position UI control widget (not sure what or how that would be implemented) 2)? Mimic the Transition lever with a 3 position control??? Reverse - Idle - Forward 3)? Map the brake function key to the slider type of control you are now using for the throttle. Just a thought.?? I am able to use Engine Driver with the locomotives that have been reprogrammed to work with the PT (seriously long momentum CV values, etc), and I realize the PT has dedicated hardware to deliver the experience but with some subtle control modifications to your current UI your excellent app would be more workable with the PT configured locos. Thank you for taking the time to read and digest my thoughts. Respectfully, Bob Morningstar PS? I would be willing to pay for an enhanced app that has this functionality. |
Locked
Re: JMRI Jython programming question
Klaus, thank you! This helps a lot!!!
This is the nugget that was eluding me: int value = (int) Math.ceil((steps - 1) * speed); I think for the purpose I'm trying to achieve, I can set the throttle to 28 steps, use this to get the speed values that map to those and then when I'm done playing with the speed table, resume 128 speed step mode for smoother operation. -Erich |
Locked
Re: Alternate languages for Engine Driver - Opinions and Volunteers
Luis,
I can't seem to see your email address. Can you email me directly at akersp62@... and I will show you what you need to do. thanks again Peter (Brisbane Australia) |
Locked
Re: JMRI Jython programming question
Dear Klaus,
Many thanks. I've already had a quick look through the code but I will have a deeper look. Thanks to you I've now can set the speed step type of the DCC to 28 while using AbstractAutomation. Snippet from Jython code (the Class init part): # get loco address. For long address change "False" to "True" ??self.throttle = self.getThrottle(5001, True)? #? LONG address 5001 # set speed mode to 28 steps ? ??self.throttle.setSpeedStepMode(28) Many thanks Nick |
Locked
Re: Engine Driver Problem
Steve,
Thank you for your comments, which I have just read after taking a more detailed look at what works and what does not - and now I need to recharge the tablet's battery.? Once that is done I will try your suggestion and report back.? What I discovered is that nothing on the corrupted Engine Driver view of the panel works - ie clicking a turnout or sensor has no effect.? However, the throttles work perfectly. Harold. |
Locked
Re: JMRI Jython programming question
Am 22.07.2018 um 11:31 schrieb nicholas murphy via Groups.Io:
I'm not a JMRI designer and I haven't picked through the Java code to see how it translates the floating value 0 to 1 into DCC speed steps.Here might be the appropriate Java code: Klaus |
Locked
Re: JMRI Jython programming question
Hi Erich,
I'm not a JMRI designer and I haven't picked through the Java code to see how it translates the floating value 0 to 1 into DCC speed steps. Could you not just pick a floating value in the centre of the 28 speed step mapping in your example?. Would that not give a good chance of always mapping to the same 28 speed step?. You don't say what DCC system you have but if JMRI supports monitoring of the DCC commands for your command station you can see how the floating point values translate into speed steps. Or have you already done this in order to produce your example?. If you have a compact roundy test track with an optical position sensor and fast feedback bus maybe you could write a script to accurately time a reliable loco to check how the JMRI speed value maps to loco speeds. However I've found track cleanliness/loco mechanism variations can be quite pronounced. Regards Nick |
Locked
Re: Alternate languages for Engine Driver - Opinions and Volunteers
Hi,?
We would be very grateful for your assistance. I will send you some instructions shortly.? Peter? (Brisbane Australia)? |
Locked
Re: Alternate languages for Engine Driver - Opinions and Volunteers
Hi Peter.
I volunteer to translate into Catalan and Spanish, I am currently doing the translation into Catalan of JMRI. I have no idea how to translate it, any advice will be welcome? Luis Zamora (eldelinux). |
Locked
Re: Engine Driver Problem
Hi Harold,
Most likely, your problem is that your tablet uses an older version of WebView that does not support the WebSocket protocol. All that EngineDriver does is use the device's builtin web browser, so upgrades to EngineDriver have no effect. Unfortunately, upgrading the WebView version isn't possible. The workaround is to use the older method of displaying panels, the frameserver. In EngineDriver Preferences, change the "Initial Web Page" preference from "/panel" to "/frame". This method has a few disadvantages, but give it a try and see if that works better with your pad. --SteveT |
Locked
Engine Driver Problem
I am running Engine Driver on a Wikipad for which the up to date operating system is Android 4.2.2.? I have the tablet set up so that, in portrate mode, I see the throttles and, in landscape mode, I see the layout panel and can operate the turnouts.? When i had JMRI 4.10, it all worked properly but, after I acquired a laptop on which to run JMRI, I installed JMRI 4.11.3 but was unable to try Engine Driver as I needed someone to set up the router for wireless connection to the laptop.? Recently the wireless connection has been made and I am able to run Engine Driver.
Before upgrading JMRI to 4.12, I ran Engine Driver on 4.11.3; although the throttles presented themselves (and operated) properly in portrate mode, the panel did not present properly in landscape mode.? I then installed JMRI 4.12 and had the same result with Engine Driver.? Next I upgrded Engine Driver to the latest version 2.19.55 and the problem persists.? Engine Driver was downloaded from Google Play Store. The nature of the problem is that, although I believe all the turnouts are shown, a lot of the track segments are missing.? The same applies whether I select the panel for the whole layout or the Layout Editor panel, which contains just the routes of my back-and-forth shuttles.? Please, can any one explain what the problem is and how to overcome it? Many thanks, Harold. |
Locked
Re: Decoder Pro returns 123 for all decoder settings
Problem solved. After a recent WIN10 maintenance (ugh!!!) it "lost" the LocoBuffer-USB, so I had to reinstall it. What I failed to notice at the time was that WIN had changed the port # from what was previously used. So when I checked DP preferences I mistaking assumed the previous used COM #. Today in looking in Device Manager I see the new COM #. Changed DP preferences and all is well.
I appreciate everyone help in this even though it was "User Error". :-)) Bob |
Locked
Re: Train speed using sensors and Dispatcher
Graham Orriss
Thank you Craig I will try that.
toggle quoted message
Show quoted text
On Saturday, July 21, 2018, 7:20 PM, Craig Goodyear <cjhs22a@...> wrote:
|
Locked
Re: Train speed using sensors and Dispatcher
Graham,
toggle quoted message
Show quoted text
To set the maximum speed for a particular section: 1) click on the Edit button in the transit table 2) when the sections for the transit are shown, press the "View/Add/Edit Action" button for the section that needs a speed change 3) press the "Add New Action" button, select the "Set Maximum Speed" option Craig On 07/21/2018 11:24 AM, Graham Orriss via Groups.Io wrote:
Hi Roger I tried changing the speed in the block but nothing happened to the speed. ?Is it because Dispatcher is controlling the speed? |
Locked
Re: Train speed using sensors and Dispatcher
Graham Orriss
Thank you Roger
toggle quoted message
Show quoted text
On Saturday, July 21, 2018, 6:52 PM, Roger Merritt <merritt_roger@...> wrote:
|
Locked
Re: JMRI used for real British Panel video
Glad you liked it. I've got a bit more footage to share when I get a Round Tuit! Thanks Kev for the info. Would be great to hear more detail of the methods used, are you planning on posting to the Panel Society pages somewhere? Great work! John |
Locked
Re: Train speed using sensors and Dispatcher
Graham, I'm not an expert on this Dispatcher, but I think it is the signals that control speed.? Find a block that has a signal and set that block to slow to see if that works.
Roger |
Locked
Re: Upgrading JMRI from 4.10 to 4.11.3 caused major issue
Jon,
? ? ?Chrome should not be the problem.? I have Chrome and Windows 10.?? ? ? ?Is you computer set up for other users? Roger |
to navigate to use esc to dismiss