Elvas Tower: Cruise control does no more work - Elvas Tower

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Cruise control does no more work Rate Topic: -----

#1 User is offline   Csantucci 

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

Posted 12 January 2024 - 06:26 AM

A recent change in the Advanced Adhesion code has disrupted Cruise Control operation, see here https://www.elvastow...post__p__304556 and subsequent posts.
Here is the code of the patch that solved the issue in ORNYMG
Attached File  adhesionpatch1.diff.txt (769bytes)
Number of downloads: 41
Cruise Control needs WheelSpeedMpS to monitor the speed of the controlled locomotive.
The author of the Advanced Adhesion code might use this patch or a similar one to solve the issue also in the official OR versions.

#2 User is offline   steamer_ctn 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 1,889
  • Joined: 24-June 11
  • Gender:Male
  • Country:

Posted 13 January 2024 - 09:45 PM

View PostCsantucci, on 12 January 2024 - 06:26 AM, said:

A recent change in the Advanced Adhesion code has disrupted Cruise Control operation, see here https://www.elvastow...post__p__304556 and subsequent posts.
Thanks for identifying this, and providing a suggested solution.

Can you confirm which "official" OR versions that the fault appears in?

#3 User is offline   Csantucci 

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

Posted 14 January 2024 - 01:29 AM

This started with your commit abbd3b136bd975eba34 "Correct throttle operation", and is caused by the deletion of some code lines in MSTSLocomotive.cs. As your PR isn't yet merged, the Testing version is not affected at the moment.

#4 User is offline   steamer_ctn 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 1,889
  • Joined: 24-June 11
  • Gender:Male
  • Country:

Posted 14 January 2024 - 01:44 AM

View PostCsantucci, on 14 January 2024 - 01:29 AM, said:

This started with your commit abbd3b136bd975eba34 "Correct throttle operation", and is caused by the deletion of some code lines in MSTSLocomotive.cs. As your PR isn't yet merged, the Testing version is not affected at the moment.

Thanks for clarifying that.

I was wondering how it had got past the Unstable version, especially as it seemed to be in ORNYMG, but this explains that it hadn't got past.

#5 User is offline   Csantucci 

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

Posted 14 January 2024 - 02:05 AM

I have merged your PR into ORNYMG even if your PR isn't merged into master, as it corrected a steam locomotive problem I wanted to get rid.

#6 User is offline   steamer_ctn 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 1,889
  • Joined: 24-June 11
  • Gender:Male
  • Country:

Posted 15 January 2024 - 11:53 AM

View PostCsantucci, on 14 January 2024 - 02:05 AM, said:

I have merged your PR into ORNYMG even if your PR isn't merged into master, as it corrected a steam locomotive problem I wanted to get rid.

Aah, that explains it.

Page 1 of 1
  • 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