Elvas Tower: Stepping speedmeter mode - Elvas Tower

Jump to content

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Stepping speedmeter mode Another step towards reality Rate Topic: -----

#1 User is offline   Icik 

  • Conductor
  • Group: Status: Active Member
  • Posts: 308
  • Joined: 19-April 15
  • Simulator:Open Rails
  • Country:

Posted 23 August 2020 - 04:47 AM

Hello everyone,

I have one news from my colleague Jindrich, the stepping speedometer. Some time ago, there was a demand to create this type of needle movement, because it is used really widely in European locomotives.

This is a simple patch prepared by me. The step delay and accuracy are then simply set in the cvf files for the DIAL function.

Watch the video and write if you would be interested in implementing it in the official and MG version of OR.

https://www.youtube....h?v=lXuVB939FO8

Attached thumbnail(s)

  • Attached Image: 1.jpg


#2 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,000
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 24 August 2020 - 11:27 PM

Hi Jirka,
yes, you can send to me the patch.
Proposing new features is not so complicated. There is no obstacle to you if you generate a Pull Request to the official Git repository of OR. Blueprints and/or Trello boxes may come later, and I'm not so sure that they are still needed.

Regards

Carlo

#3 User is offline   cjakeman 

  • Vice President
  • PipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 2,867
  • Joined: 03-May 11
  • Gender:Male
  • Location:Peterborough, UK
  • Simulator:Open Rails
  • Country:

Posted 25 August 2020 - 04:28 AM

View PostCsantucci, on 24 August 2020 - 11:27 PM, said:

Blueprints and/or Trello boxes may come later, and I'm not so sure that they are still needed.

For a PR to be approved for inclusion in the Testing version (i.e. master branch or repository), there should be a link to one of:

  • a blueprint or a bug report on Launchpad.net
  • a Trello card

The link should specify what the change will achieve and may refer to a forum discussion.
Please do not approve a PR that doesn't have such a link.

#4 User is offline   Icik 

  • Conductor
  • Group: Status: Active Member
  • Posts: 308
  • Joined: 19-April 15
  • Simulator:Open Rails
  • Country:

Posted 25 August 2020 - 06:03 AM

Ok, here's the patch.

You can use it in an analog speedometer:
Dial (
Type ( SPEEDOMETER DIAL )
Position ( 87 200 5 36 )
Graphic ( "..//..//common.cab//cab742_OR//742115_rychlomer.ace" )
Style ( NEEDLE )
ScaleRange ( 0 172 )
ScalePos ( 244 160 )
Units ( KM_PER_HOUR )
Pivot ( 26 )
DirIncrease ( 0 )
UpdateTime ( 1.0 )
Precision ( 1 )
)

Or also for using a digital speedometer:
Digital (
Type ( SPEEDOMETER DIGITAL )
ORTSfont ( 8 1 "Dot-Matrix" )
Position ( 87 220 32 32 )
ScaleRange ( 0 190 )
Accuracy ( 0 )
AccuracySwitch ( 0 )
LeadingZeros ( 0 )
Justification ( 3 )
PositiveColour ( 1
ControlColour ( 152 218 3 )
)
NegativeColour ( 0 )
DecreaseColour ( 0 )
Units ( KM_PER_HOUR )
UpdateTime ( 1.0 )
Precision ( 1 )
)

UpdateTime ( x ) - expresses the step delay time in seconds
Precision ( y ) - set to 1 (for future use of other functions)

#5 User is offline   FS.E652 091 

  • Conductor
  • Group: Status: Active Member
  • Posts: 274
  • Joined: 22-April 14
  • Gender:Male
  • Location:Sicily
  • Simulator:ORTS
  • Country:

Posted 25 August 2020 - 02:39 PM

Thank you for that!!!

Also, what graphic effect do you use? it's really wonderful..!! :-D

#6 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,000
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 25 August 2020 - 11:20 PM

I am examining the patch.
Are there real cases where also digital speedometers work this way? I'm asking this because I'd prefer not to add to all controls the new variables, but to add them only to controls which may have this feature, so I'd add them (in reality only the parametric ones, the other two shouldn't belong to CabViewFile.cs) only to the Dial controls. If instead this occurs also in the Digital controls I'd add such variables also there.

#7 User is offline   Icik 

  • Conductor
  • Group: Status: Active Member
  • Posts: 308
  • Joined: 19-April 15
  • Simulator:Open Rails
  • Country:

Posted 26 August 2020 - 05:46 AM

Carlo, I hung it there for a digital speedometer just as an option. In fact, it doesn't have to be there. I don't know of a case where you can really use it. But that doesn't mean it doesn't exist.

#8 User is offline   Icik 

  • Conductor
  • Group: Status: Active Member
  • Posts: 308
  • Joined: 19-April 15
  • Simulator:Open Rails
  • Country:

Posted 26 August 2020 - 07:51 AM

I found a video where it's nice to see at 16:10. Stepping is also used on the digital speedometer. Please keep this function under the digital speedometer.

#9 User is online   Weter 

  • Member, Board of Directors
  • PipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 6,929
  • Joined: 01-June 20
  • Gender:Not Telling
  • Simulator:ORTS
  • Country:

Posted 29 August 2020 - 02:00 AM

Do You mean "jumping between digits" type of needle's movement instead of incremental?
I have seen this type at electronic LED taubleaus, but not at mechanical speed-meters.
Or You mean the way, when the speed statement is being updated every N seconds?

#10 User is offline   Icik 

  • Conductor
  • Group: Status: Active Member
  • Posts: 308
  • Joined: 19-April 15
  • Simulator:Open Rails
  • Country:

Posted 29 August 2020 - 02:26 AM

It's not about jumping, but about refreshing values every Nth second.

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users