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
¿ªÔÆÌåÓýCliff,Those are the Loconet Stationary Decoder Interrogation addresses.? They are in the Loconet spec, although it may say somewhat different numbers due to different interpretation of the bits in the messages.? The QuadLN manual documents this BTW.
Robin
Robin Becker San Diego CA Sep 6, 2024 12:14:31 PM Cliff Anderson <cliffaa@...>:
|
Ken,
Dave Sand ----- Original message ----- From: Ken Fordham <j.kenneth.fordman@...> Subject: Re: [jmriusers] SML signal mast problem #sml Date: Friday, September 06, 2024 3:05 PM Hi Dave I don't know how to send you the file. I have the file but don't know how to move it to you. ? Ken |
Jos, I made some assumptions. Here is a script:
And a test LogixNG:
Dave Sand ----- Original message ----- From: Dave Sand <ds@...> Subject: Re: [jmriusers] Getting throttle settings with LogixNG #logixng Date: Friday, September 06, 2024 2:38 PM Jos, What is in the memory variable? ?A string or a roster entry? ?If it is a string, what does the string value represent? How does the ConditionalNG stop and start a train? Dave Sand ----- Original message ----- From: Jos Smeele <jossmeele@...> Subject: Re: [jmriusers] Getting throttle settings with LogixNG #logixng Date: Friday, September 06, 2024 2:02 PM If I start a Dispatch then I can follow the train around the track by querying the Block-comment. I wrote a ConditionalNG to resolve a conflicting situation when two trains approach a crossing and Dispatcher doesn't always stop one of the trains to avoid a crash. I use the Block-comment to determine which train to stop and which to allow to continue. The ConditionalNG will stop one train, then restart it when the other train has passed. I've got this working but would like to restart the stopped train at the same speed it was running before it got stopped. Jos |
Jos, What is in the memory variable? ?A string or a roster entry? ?If it is a string, what does the string value represent? How does the ConditionalNG stop and start a train? Dave Sand ----- Original message ----- From: Jos Smeele <jossmeele@...> Subject: Re: [jmriusers] Getting throttle settings with LogixNG #logixng Date: Friday, September 06, 2024 2:02 PM If I start a Dispatch then I can follow the train around the track by querying the Block-comment. I wrote a ConditionalNG to resolve a conflicting situation when two trains approach a crossing and Dispatcher doesn't always stop one of the trains to avoid a crash. I use the Block-comment to determine which train to stop and which to allow to continue. The ConditionalNG will stop one train, then restart it when the other train has passed. I've got this working but would like to restart the stopped train at the same speed it was running before it got stopped. Jos |
Locked
Re: Lighting control with JMRI
Vinny,? I sent an e-mail?asking for a discount.? We'll see what he says....thanks again for your help. On Fri, Sep 6, 2024 at 6:51?AM Vinny DeRobertis via <vinny.derobertis=[email protected]> wrote:
|
If I start a Dispatch then I can follow the train around the track by querying the Block-comment.
I wrote a ConditionalNG to resolve a conflicting situation when two trains approach a crossing and Dispatcher doesn't always stop one of the trains to avoid a crash. I use the Block-comment to determine which train to stop and which to allow to continue.
The ConditionalNG will stop one train, then restart it when the other train has passed. I've got this working but would like to restart the stopped train at the same speed it was running before it got stopped.
Jos |
It is not my intent to highjack this thread, but OP has touched on a closely related topic.
?
Please excuse my ignorance, but where is the documentation for the statement, "I'm aware that LT1017 to LT1020 are reserved for LocoNet use?"
?
Our club layout expansion plans could easily reach into that range as most of the lower numbers have been parceled out into small clusters and we need several large blocks of contiguous addresses for the various yards.
?
We are well aware of the NMRA reserved turnout addresses, although I seem to have misplaced that reference information.?
?
Thanks in advance,
?
Cliff in Baja SoCal |
Locked
Re: Precise position of trains and maneuvers automation
About the position detection/calculation in JMRI:
toggle quoted message
Show quoted text
Does it JMRI can calculate the position of each vehicle of a train?? Like, for example, telling that a train begin at cm X and end at cm Y, with couplings at cm A, B, and C?? About TrainController, I've searched but found nothing about train position other than telling which block is occupied. Do you have more information?? "Ian Blease" <ianbritmanone@...> writes: From what I I know about JMRI, it will do the things you ask for, however there a very steep learning curve, in my opinion and you need to |
Locked
Re: Precise position of trains and maneuvers automation
I have difficulties to understand what a "sound-follows-loco in VSD" is.
toggle quoted message
Show quoted text
(Sorry, english is not my main language). Does the "LayoutEditor-Train Simulator Proof of Concept" is only a simulation of train?? By position, do you detect/calculate the exact position AND occupation of the train?? Like where it begin and where it end on the track and where the couplings are on the train?? How do you precede to detect/calculate the train position?? "Klaus Killinger" <klaus.killinger@...> writes: ³§¨¦²ú²¹²õ³Ù¾±±ð²Ô,Does JMRI can deduce the precise location of a train from its speed,it's size and a few object detectors ? |
Locked
Re: Precise position of trains and maneuvers automation
From what I understanding:
toggle quoted message
Show quoted text
With warrants, JMRI can calculate the position of the train after it entering into a block and using the train speed and block length. But the position calculated only tell the position of the train as a point on the track. It did not know where the train begin and end on the track?? And it did not know the position of the couplings of the train?? "Nags via groups.io" <snowy999@...> writes: Warrants use block and path lengths with train speed to calculate position. It also has the capability to adjust the warrant to reflect actual |
Locked
Re: Precise position of trains and maneuvers automation
I have considered the radar distance detector
toggle quoted message
Show quoted text
But it have some disadvantage: It need to be installed in the axis of a straight track and have no obstacle. If the track is the main one of the station, and at the in and out of the station you also have straight track, you can't install the radar. And if you do train maneuver and place a wagon between your train and the radar, it can no longer measure train position. Now, I am thinking of using 2?light sensors (with IR) to detect train arriving, measure its speed and signature (amount of IR reflected). From it's speed and signature, calculate it's length and coupling position. And from speed, time and length, calculate its position. But if JMRI already do the calculation part, it wont be original enough. And I maybe need to found another idea. "Ken Heywood via groups.io" <kheywood@...> writes: My first step would be to profile locomotive speed with the JMRI profiler (bottom of the "roster" menu). |
Locked
Re: Precise position of trains and maneuvers automation
A warrant is a fixed point on the map that tell which train pass by it??
toggle quoted message
Show quoted text
"Nags via groups.io" <snowy999@...> writes: Warrants use block and path lengths with train speed to calculate position. It also has the capability to adjust the warrant to reflect actual |
Jos, In your original post you indicate that you want to get a throttle setting for an auto active train in Dispatcher. When developing program logic, the first question is "Select a throttle based on what?". ?The transit, the train info file, a DCC address, a roster entry, etc.? ?What is the input to the query? Dave Sand ----- Original message ----- From: Jos Smeele <jossmeele@...> Subject: Re: [jmriusers] Getting throttle settings with LogixNG Date: Friday, September 06, 2024 10:57 AM Dave, Thanks, it seems that I should learn more about Jython, I'd appreciate an example of this. Where can I find documentation about formulas that can query the JMRI system from within LogixNG, like the tip you gave me in an earlier post about getting Memory data with memories.getMemory(<memory name>)? Thanks, Jos ? |
Ken, There are many possible issues. Please upload your layout xml data file to the group's ProblemsBeingWorkedOn file folder. Dave Sand ----- Original message ----- From: Ken Fordham <j.kenneth.fordman@...> Subject: [jmriusers] SML signal mast problem Date: Friday, September 06, 2024 10:20 AM Hi I have just started to convert my ssl signals to sml and I have the signals operating at one of the switches. When I run a train on the mainline the switches activate on the siding and when I operate the train on the siding the signals on the mainline operate as though they were on the siding. I have tried everything I can think of to make the switches operate on the correct route but I am at a loss. I know that one of you knows a very easy fix. Thanks in advance for your thoughts. Ken Ecuador ? ? ? |
Dave,
Thanks, it seems that I should learn more about Jython, I'd appreciate an example of this.
Where can I find documentation about formulas that can query the JMRI system from within LogixNG,
like the tip you gave me in an earlier post about getting Memory data with memories.getMemory(<memory name>)?
Thanks,
Jos
? |
Hi
I have just started to convert my ssl signals to sml and I have the signals operating at one of the switches. When I run a train on the mainline the switches activate on the siding and when I operate the train on the siding the signals on the mainline operate as though they were on the siding. I have tried everything I can think of to make the switches operate on the correct route but I am at a loss. I know that one of you knows a very easy fix. Thanks in advance for your thoughts.
Ken
Ecuador
?
?
? |
Daniel, It could be done using LogixNG except for one problem. The "InstanceManager" function normally returns a manager object, for example using a formula such as:
where "mgr" is a local variable. ?For Dispatcher, the DispatcherFrame class is both the Dispatcher manager and the main JmriJFrame. ?The "InstanceManager" function returns the JFrame, not the object. Dave Sand ----- Original message ----- From: danielb987 <jmri@...> Subject: Re: [jmriusers] Getting throttle settings with LogixNG Date: Friday, September 06, 2024 9:07 AM Jos, No, not currently. But you can use a Jython script to do that.
Hopefully someone else will join in and give you an example on a
Jython script for it. Daniel On 2024-09-06 15:11, Jos Smeele wrote:
|
¿ªÔÆÌåÓýJos, No, not currently. But you can use a Jython script to do that. Hopefully someone else will join in and give you an example on a Jython script for it. Daniel On 2024-09-06 15:11, Jos Smeele wrote:
|
Is there a way that I can query an active throttle with LogixNG and, for instance, store the current speed in a local variable with LogixNG?
I want to get the current train speed with LogixNG when Dispatcher is executing Transits.
I've learned that Memory variables can be queried with: memories.getMemory(<memory name>) so is there something similar for throttle data?
Thanks,
Jos |
to navigate to use esc to dismiss