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
Search
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. |
Bob,
Thanks for the kind words. Much appreciated. Unfortunately, I don't follow what you're describing. I don't have access to one of those gadgets, so I'm not sure what the controls you're listing should do. Can you email me a photo or something with a writeup describing the behavior? In particular, we don't currently have an "Idle" or "Brake" function. --SteveT |
¿ªÔÆÌåÓýJumping in here... With WiThrottle, there is an IDLE button top-of-screen between Forward and Reverse buttons. With a JMRI throttle, the IDLE is the red button below the slider (between the direction arrows). I don't have an Android device but there appears to be a similar Stop button on the EngineDriver screen. The NCE Pro Cab uses the OPTION button for a similar purpose. All of the above send a DCC "set speed to zero" command rather than an EStop command (the red octagonal symbol). If Bob has in mind a "coast" button (set prime mover to idle but don't slow train), there is no universal way of doing this with a DCC command. Some decoders support this as a mappable function key, others do not support it. The same applies to Brake. Some decoders support this as a mappable function key, others do not support it. Almost every brand that does support it implements the effect on the loco speed differently from other brands. --? Dave in Australia The New England Convention 2018 On 23 Jul 2018, at 12:06 PM, Steve Todd <mstevetodd@...> wrote:
Thanks for the kind words. Much appreciated. |
This is similar to a challenge that I laid down in the old Yahoo group, shortly before the transition. Basically I asked for a skin to engineDriver that replicated the PT. I have used the actual PT on a friend's layout and it does make switching very realistic, and fun. And yes, there are many, mainly older, decoders that do not work with PT. But I am sure that will not deter people from wanting a PT. A bigger deterrent is the price, which is where an ED skin would come in. I imagine that this would not be a priority forthe core development and support team, perhaps someone with the necessary time and skills could create one. Maybe even as a <gasp> paid upgrade, after all WiThrottle in IOS is not completely free.....
Stefan |
Bob,?
How do you envision that the idle and brakes functions would work?? The brake and idle concepts don't exit in ED so I am trying to understand what the algorithms would need to be. I get the concept of the basic ones, but the combinations are a stretch.? i.e. - What happens to the loco speed when it is in idle. - what happens to the loco speed when the loco is not in idle and the brakes are applied. Peter? (Brisbane Australia)? |
This is similar to a challenge that I laid down in the old Yahoo group, shortly before the transition.... Why would you want to do switching operations on a Programming track ??? Sometimes it is better to spell out an abbreviation or TLA at least once to get a message context for others. |
Hello Peter:
Regarding question 1,? when the throttle goes to idle it is the same as issuing a speed step 0 command and the momentum functionality takes over. When the brake level is applied, the value in CV61 is used to accelerate the end of the momentum feature.?? For Soundtraxx Tsunami decoders there are multiple CVs that work in conjunction to simulate braking: ????? CV4 - Baseline braking rate?? (emulating momentum of the moving mass of a train when the throttle is at idle) ????? CV61 - F11 Braking rate when the F11 button is pressed. The throttle is set to 0, forcing the decoder to decelerate to a stop eventually.? This value is a subtraction or addition offset to CV4 depending on the sign of the value is CV61. Econami decoders use CV4 and CV117? (see excellent article at .?? For whatever reason Econami and Tsunami use different CVs for the F11 brake rate offset.?? Go figure. I hope I got this right, my apologies in advance if something is amiss.?? I did do my research. |
I don't believe those concepts exist on the Proto Throttle either.? Looking at their manual, notching is handled by assigning a speed step to each notch on the throttle.? Idle is speed step 0.? Notch 1 could be speed step 4, notch 2 assigned to speed step 8, and so on.? They recommend setting CV3 and CV4 to fairly high values to simulate momentum of starting and coasting when idling.? One of the images in the Protothrottle manual shows the brake lever assigned to F10.? If I remember correctly F10 is where Loksound assign's the brake.? I think it reduces the amount of momentum programmed into CV4.?? My question is whether or not the protothrottle has memory of locomotive settings that have been set up to operate with it such as the speed step/notching assignments??? Greg McCartney??
On Monday, July 23, 2018, 10:55:05 PM EDT, Peter Akers <Akersp62@...> wrote:
Bob,? How do you envision that the idle and brakes functions would work?? The brake and idle concepts don't exit in ED so I am trying to understand what the algorithms would need to be. I get the concept of the basic ones, but the combinations are a stretch.? i.e. - What happens to the loco speed when it is in idle. - what happens to the loco speed when the loco is not in idle and the brakes are applied. Peter? (Brisbane Australia)? |
¿ªÔÆÌåÓýSee below: Regarding question 1,? when the throttle goes to idle it is the same as issuing a speed step 0 command and the momentum functionality takes over. In JMRI throttles, the red dot between the two direction arrows does the same.
QSI decoders use F7 and don't override the throttle. Older LokSound decoder projects effectively halved the value in CV4, but didn't override the throttle. LokSound Full Throttle projects introduced an "Independent Brake" feature that does override the throttle. I can't remember which key it is assigned to but suspect Greg's suggestion of F10. The latest LokSound firmware introduces an new CV (179 from memory) that is used instead of half-CV4. The majority of SoundTraxx users I know remap the brake to F7. If not all locos in a consist use identical decoder brands, versions and settings you have a problem. Such is (at least some of) the situation out there. Dave in Australia |
The base issue here is how to customize for each decoder type.
I use lots of Loksound. Some with FT (Brakes, etc.) and some without. I also have lots of older Tsunami, which run and sound great, no brake or fancy new features. Combine that with non-sound Loks, one Zimo Lok, and various others, including some QSI factory decoders, and you have to do custom setups for each throttle you create. I for one do NOT want to customize ED for a specific decoder type. Just go to the roster entry in JMRI and set the function labels to match the decoder definitions. Brake shows up for brake function for that Lok. No brake button, you have not set that up, or not available on that decoder. Set button label, or customize the look and feel of the whole app? Answer is obvious for me. If you want to do or have something like that, please do, but name it something else, not generic Engine Throttle. Just my opinion. Thomas DeSoto, TX |
I am looking at the possibility of having a stab at implementing this. (I that sounds non-committal... it is.)? I need to decide: - if it is reasonable to try to implement this in Engine Driver (ED) - Which will be Steve's call - if it practical to implement in ED - if I am capable of implementing it? - how it would work? If I do try (and that is a very big if) it would:? - be generic, and would work for any decoder. It would in fact totally ignore the brake functions of the decoder if it has them - be one of the optional throttle screens, so if you weren't interested you would never see it.? - would NOT be an attempt at a full emulator / simulator I would like to get some idea of how many people would be interested in this functionality?? Peter (Brisbane Australia)? |
The thread has been informative and I appreciate folks responding back to me.?? A couple of thoughts:
1)? I concur, there is no need for a decoder specific version of the app;? any remapping of function keys can happen at the decoder level which is pretty trivial if one uses JMRI DecoderPro 2)? PT does in fact stand for ProttleThrottle.?? My bad for assuming everyone was thinking in the same context as me (a frequent issue with me according to my spouse and my staff at work!). 3)? I would be very willing to be a tester. 4)? Yes this idea would only work with decoders that have implemented some type of brake functionality. 5)? Concur with Dave that the manufacturers have pretty much been left to themselves to innovate and bring out new features.?? The lack of leadership from the industry standard setting committees has been dreadfully obvious.?? This is not meant to start a rant on a certain organization, which I belong to but you have to call a spade a spade at times.??? I will accept the confusion and inefficiencies of the current situation to get the innovation. Again, you can use Engine Driver and get the same results as ProtoThrottle with some practice, my suggestion was solely about re-configuring some of the UI widgets to mimic more closely the look and feel of the physical PT device.?? I believe ED to be an outstanding app, fortunately I have an IT background and I am naturally drawn to the technology, some of the other operators on my layout want nothing to do with ED when operating and want a Digitrax Throttle in their hand.?? To each their own, but I cannot afford to buy (nor inclined to do so if I could) enough throttles for ops sessions.???? |
Just a note ?- it may be helpful to go to the protothrottle.com web site and watch the videos, and download the manual. The PT was developed as open source. There is a link to github where all of the code and pertinent info is freely available. The developers have stated they encourage others to build on their work.
gs |
After all that, I had to look up T.L.A., which was a bit of a D.'O.H. Wouter On 25 July 2018 at 15:43, G Sinos <gsinos@...> wrote: Just a note ?- it may be helpful to go to the web site and watch the videos, and download the manual. The PT was developed as open source. There is a link to github where all of the code and pertinent info is freely available. The developers have stated they encourage others to build on their work. |
Bob,?
I would like disagree with you on point 4 of your recent post. I believe that the EngineDriver app (EDa), or a derivative, could be written in such a way that it would not require a decoder with braking function. Also, why not include the momentum function in the app, instead of having to program CVs. A benefit would be that the momentum and braking functions would then work the same, irrespective of the decoder used. The only thing that might need to be done is some speed matching, relatively easy using DecoderPro. How would this work? Imagine as you notch up on the smartphone screen, instead of jumping straight to a specific speed step, the app would slowly increase the speed, until the relevant? speed step is reached. On notching down, the reduction in speed steps could be very slow (= high momentum), unless the brake is activated. In that case the speed step reduction would occur faster. Another benefit of this approach, the ProtoThrottle (PT) has a progressive brake switch, but most decoders just have and on/off brake function. With the app, the brake could be truly progressive, i.e. move a little and you have light braking, slide it over more and the braking (speed step reduction) is heavier. Also, while many decoders can re-assign function keys, it should also be possible to do the same in the software, in settings that are linked to the specific locomotive. This would make it possible to use decoders where the function key assignment is limited or not possible. Peter Akers: If you need help writing a functional design document, I would be happy to contribute, in addition to any future testing. Unfortunately, my IT experience does not extend to smartphone programming otherwise I might have tackled this challenge myself. |
¿ªÔÆÌåÓýYour idea works fine with non-sound decoders. However, modern sound decoders rely on the differential between requested speed to the decoder and actual track (motor) speed to change the sound samples from steady-state to acceleration, coasting and braking sounds. Your suggested system prevents those sounds from ever being used, with a consequent loss of resemblance to reality. For many of us, the realism (in nature, quality will never be the same) of sound from the loco is a vital part of our enjoyment of the hobby. Sound is what I always loved about trains and was what got me back into the hobby after a break for family duties. --? Dave in Australia The New England Convention 2018 On 28 Jul 2018, at 6:04 AM, Stefan ` Bartelski <stefan@...> wrote:
I would like disagree with you on point 4 of your recent post. I believe that the EngineDriver app (EDa), or a derivative, could be written in such a way that it would not require a decoder with braking function. Also, why not include the momentum function in the app, instead of having to program CVs. A benefit would be that the momentum and braking functions would then work the same, irrespective of the decoder used. The only thing that might need to be done is some speed matching, relatively easy using DecoderPro. |
to navigate to use esc to dismiss