¿ªÔÆÌåÓý

Date

Locked Re: Getting throttle settings with LogixNG #logixng

 

On Fri, Sep 6, 2024 at 03:02 PM, Jos Smeele wrote:
when two trains approach a crossing and Dispatcher doesn't always stop one of the trains to avoid a crash
This indicates that there is a serious problem. Dispatcher will always stop a train from entering a? block not allocated to it, when not interfered with.
Possible issues are grade crossing not indicated as such but just two tracks drawn over one another, use of permissive signaling systems, locos drifting into a block due to high momentum, failure to ensure that the entire train is detectable, transit actions forcing speeds, and other user errors.?
Steve G.
?


Locked Re: SML signal mast problem #sml

 

I made the changes on the double crossover.
I was thinking of using the PRR signal system since my layout is PA based. Do you see any problem with those mast types?


Locked Re: SML signal mast problem #sml

 

Hi Dave
Thanks for the analysis and time spent. The signal that I was working with was 24 that had the original problem. I had not tried to do anything with switch 3, the crossover so I will make the corrections you suggest.?
I really appreciate your help and will work on it on Sunday.?
?
Best regards
Ken F


Locked Re: SML signal mast problem #sml

 

Ken,

You did not indicate which signal masts were not working as expected. ?After working with the file that you uploaded, the original problem might be resolved after cleaning up several major issues.

Double Crossover

The first problem is the double crossover (LT3). ?The block routing data structures only support a single connection between two blocks. ?The double crossover has two blocks, 814 and 818, which means there are two connections based on the upper to lower and the lower to upper blocks. ?The normal solution is to split the upper or lower straight track into to two blocks. ?Since the double crossover is part of two larger blocks, the following arrangement seems to work.
Ignore the red X for the signal masts.

Signal System Mast Types

The selected signal system is AAR-1946. ?The mast types are "Double position light high signal" and "Single position light high permissive signal".

The double head mast uses Lunar for Permissive, Restricting and Permissive Medium. ?The single head uses Lunar for Permissive. ?Signal heads don't have a Lunar "Appearance". ?Normally a flashing appearance is used to represent Lunar. ?Since you are using "Signal Head Controlled" masts, when a Lunar appearance is sent to the SE8C signal head definition, an error occurs. ?

An additional issue for the double head mast is that the "danger" state is mapped to Restricting. ?This means that anytime the signal mast logic wants to set the double head mast to "Stop", the Restricting Lunar appearance is send to the signal head which creates an error.

My understanding is that the single head masts should be absolute unless they are being used as intermediate block signals.

The solution is to pick a different mast type or a different signal system.

------------------

Once these two issues have been resolved, we can then see if there is still a problem with the siding signal mast aspects.

Dave Sand

?

----- Original message -----
From: Ken Fordham <j.kenneth.fordman@...>
Subject: Re: [jmriusers] SML signal mast problem #sml
Date: Friday, September 06, 2024 4:05 PM

Hi Dave
I sent the file. I hope it is the right file.
?
Best
Ken F


Locked Re: Adding Consist Column to DecoderPro Roster Screen #roster

 

On 9/6/2024 6:13 PM, Scott Stearns wrote:
It would be very helpful if we could have the CONSIST assignment listed and sortable.
Oh, no! Here we go again...

We REALLY need to ut this question into the JMRI "FAQ" and also some sort of FAQ for this list!

Regards,
Billybob


Locked Adding Consist Column to DecoderPro Roster Screen #roster

 

Is there a way to add columns to the DecoderPro Roster Screen.? It would be very helpful if we could have the CONSIST assignment listed and sortable.
?
Thanks,
Scott Stearns
Zumbrota, MN


Locked Re: LT1017 - LT1020 #digitrax

 

Thank you Robin and Billybob.
?
In fact we are implanting a second control bus.?
?
Extra caution seemed worth the effort for future maintenance and possible modifications.?
?
Cliff
?


Locked Re: LT1017 - LT1020 #digitrax

 

On 9/6/2024 1:14 PM, Cliff Anderson wrote:

Please excuse my ignorance, but where is the documentation for the statement, "I 'm aware that LT1017 to LT1020 are reserved for LocoNet use?"
FWIW, my notes do not say that _any_ "LTxxx" address is "reserved". JMRI doesn't do anything to "reserve" any LocoNet address.

JMRI _interprets_ some LocoNet messages with the switch" addresses between 1017-1020 as "Interrogation" commands. This can be seen in the "LocoNet Personal Edition" spec.

(But JMRI also interprets the "switch" addresses between 2041-2044 as "Interrogate" messages. I wonder why, because this does not seem to be accurate...)

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.
If you need huge numbers of switches, perhaps you should implement an additional "LocoNet", for those devices that do _not_ need to be controlled via a throttle... JMRI can easily handle multiple LocoNet connections...

We are well aware of the NMRA reserved turnout addresses, although I seem to have misplaced that reference information.
I believe this is covered in NMRA "Standard" S-9.2.1, Section 2.4.3.

Regards,
Billybob


Locked Re: SML signal mast problem #sml

 

Hi Dave
I sent the file. I hope it is the right file.
?
Best
Ken F


Locked Re: LT1017 - LT1020 #digitrax

 

¿ªÔÆÌåÓý

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@...>:

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: SML signal mast problem #sml

 

Ken,
  1. Go to?/g/jmriusers. Logon if necessary.
  2. Click on "Files" in the left column.
  3. Scroll down to "ProblemsBeingWorkedOn" and click on the link.
  4. Click on the "New/Upload" button and select "Upload File".
  5. Follow the prompts to find your file and click on Upload.

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


Locked Re: Getting throttle settings with LogixNG #logixng

 

Jos,

I made some assumptions.

Here is a script:

# Called by LogixNG to get the current throttle speed setting for an auto active train.

# The train name is in the trainName local variable.
# Return the train speed in the speed local variable.? -2 indicates no train, -1 indicates emergency stop, 0.0 to 1.0 is the train speed

import java
import jmri

trainName = symbolTable.getValue('trainName')
speed = -2.0??? # Default to no train found

dispFrame = jmri.InstanceManager.getDefault(jmri.jmrit.dispatcher.DispatcherFrame)

for at in dispFrame.getActiveTrainsList():
??? if at.getAutoRun():
??????? if at.getTrainName() == trainName:
??????????? aat = at.getAutoActiveTrain()
??????????? speed = aat.getTargetSpeed()

symbolTable.setValue('speed', speed)

And a test LogixNG:

LogixNG: Get Train Speed
??? ConditionalNG: IQC:AUTO:0001 ::: Startup
??????? ! A
??????????? Many
?????????????? ::: Local variable "trainName", init to String "asdf"
?????????????? ::: Local variable "speed", init to Floating number "-3.0"
??????????????? ! A1
??????????????????? Execute script: Run script. Script preference:trainspeed.py
??????????????? ! A2
??????????????????? Log local variables

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



Locked Re: SML signal mast problem #sml

 

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


Locked Re: Getting throttle settings with LogixNG #logixng

 

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:

I would never pay the $700 asking price. Like I said, Bob gave it to me for free. Talk to?

bob@...

I think the board is worth about $100.


Locked Re: Getting throttle settings with LogixNG #logixng

 

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: LT1017 - LT1020 #digitrax

 

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:

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
understand programing to get the best results.

A better solution, in my humble opinion (still with a learning curve, but much less than JMRI) is to use TrainController (Gold Version), apart form
automation it is very easy to draw your layout in TrainController.
Another advantage to TrainController is that there are very good YouTube videos available from several authors that will take you through the
process of learning how to use TrainContoller.

I understand that the price of TrainController Gold Version at approximately US$800+ (less costly versions of TrainController are available at
lower cost and functionality), will be off-putting for some people. However if you have a DCC based train layout your investment in DCC
technology will probably be in the several thousands of $. For example the price of x2 well equipped high end loco¡¯s with sound can cost more
than TrainController.Gold

I am sure that others will have varying levels of viewpoint than mine.

Ian Blease

On Aug 7, 2024, at 8:51?AM, S¨¦bastien Gendre via groups.io <seb@...> wrote:

Hello,

I have a few questions.

Does JMRI can deduce the precise location of a train from its speed, it's size and a few object detectors ?

If yes:

* With which precision ?
* Does JMRI can use train precise location to automate the maneuvers, including uncoupling and train formation ?


Do you know of other software than JMRI who can do that ?


For my diploma work for engineering, I need to develop a system that can measure, or deduce, the precise location of a train, with a
precision of 2-3 cm.
Then, using this location, the system need to automate the maneuvers, including uncoupling and train formation.

But before developing this system, I need to document what's already exist in the field of model making. And then found a new way of
doing it.
I'm only allowed to develop something that nobody have already done.

For the detectors, it's seems that model makers have already done every possibilities.
Including using 2 objects detectors to measure speed (and JMRI already have a speedometer).

For positon deduced from other data, I have seen that JMRI already have a Train Tracker [1].
But, as I have only used the Decoder Pro until now, I don't know if the Train Tracker correspond to what I'm asked to develop or not.

Best regards.

PS: If my diploma work can be done, I plan to release the result software and hardware as free (as in freedom) software and hardware.
And all the documents in similar licence. And if it implies modifying JMRI, I would be very happy to send my modifications as
contribution to JMRI.

[1]


Locked Re: Precise position of trains and maneuvers automation

 

I have difficulties to understand what a "sound-follows-loco in VSD" is.
(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 ?

Yes. I have used the "LayoutEditor-Train Simulator Proof of Concept"
to implement sound-follows-loco in VSD. See the attached screenshot.
JMRI PanelPro and a LayoutEditor panel is needed.

Here is the location calculation:



With which precision ?
I think with a precision of 2-3 cm.


Does JMRI can use train precise location to automate the maneuvers,
including uncoupling and train formation ?

Partly. Not sure how "uncoupling" could be done. And I only used
locomotive info, no train info.

Klaus

Am 07.08.2024 um 14:51 schrieb S¨¦bastien Gendre:
Hello,
I have a few questions.
Does JMRI can deduce the precise location of a train from its speed,
it's size and a few object detectors ?
If yes:
* With which precision ?
* Does JMRI can use train precise location to automate the maneuvers, including uncoupling and train formation ?
Do you know of other software than JMRI who can do that ?
For my diploma work for engineering, I need to develop a system that
can measure, or deduce, the precise location of a train, with a
precision of 2-3 cm.
Then, using this location, the system need to automate the
maneuvers, including uncoupling and train formation.
But before developing this system, I need to document what's already
exist in the field of model making. And then found a new way of
doing it.
I'm only allowed to develop something that nobody have already done.
For the detectors, it's seems that model makers have already done
every possibilities.
Including using 2 objects detectors to measure speed (and JMRI already have a speedometer).
For positon deduced from other data, I have seen that JMRI already
have a Train Tracker [1].
But, as I have only used the Decoder Pro until now, I don't know if the Train Tracker correspond to what I'm asked to develop or not.
Best regards.
PS: If my diploma work can be done, I plan to release the result
software and hardware as free (as in freedom) software and hardware.
And all the documents in similar licence. And if it implies modifying JMRI, I would be very happy to send my modifications as contribution to JMRI.
[1]



Locked Re: Precise position of trains and maneuvers automation

 

From what I understanding:

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
running.
JMRI: Warrants Help
JMRI: Warrant Speeds Help