mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-12-24 21:21:24 +01:00
4e57a80265
commit3ac2fff70d
Author: Asbelos <asbelos@btinternet.com> Date: Tue Jul 23 15:40:36 2024 +0100 Create momentum.md commita08195332f
Author: Asbelos <asbelos@btinternet.com> Date: Mon Jul 22 21:57:47 2024 +0100 Cleanup of DCC Class reminders commit002ec5f176
Author: Asbelos <asbelos@btinternet.com> Date: Mon Jul 22 12:42:43 2024 +0100 Cleaning access to speedByte commit854ddb0c6c
Author: Asbelos <asbelos@btinternet.com> Date: Sun Jul 21 10:15:07 2024 +0100 Fix momentum algorithm commit916d3baf63
Merge:ab72a75
27dc805
Author: Asbelos <asbelos@btinternet.com> Date: Fri Jul 19 10:14:06 2024 +0100 Merge branch 'devel' into devel_momentum commitab72a75d8f
Author: Asbelos <asbelos@btinternet.com> Date: Fri Jul 19 08:33:50 2024 +0100 EXRAIL MOMENTUM commit8a623aa1cb
Author: Asbelos <asbelos@btinternet.com> Date: Thu Jul 18 20:31:58 2024 +0100 Momentum
21 lines
1.1 KiB
Markdown
21 lines
1.1 KiB
Markdown
New Momentum feature notes:
|
|
|
|
The command station can apply momentum to throttle movements in the same way that a standards compliant DCC decoder can be set to do. This momentum can be defaulted system wide and overridden on individual locos. It does not use or alter the loco CV values and so it also works when driving DC locos.
|
|
The momentum is applied regardless of the throttle type used (or even EXRAIL).
|
|
|
|
Momentum is specified in mS / throttle_step.
|
|
|
|
There is a new command `<m cabid mS>`
|
|
|
|
For example:
|
|
`<m 3 0>` sets loco 3 to no momentum.
|
|
`<m 3 21>` sets loco 3 to 21 mS/step.
|
|
`<m 0 21>` sets the default momentum to 21mS/Step for all current and future locos that have not been specifically set.
|
|
`<m 3 -1>` sets loco 3 to track the default momentum value.
|
|
|
|
EXRAIL
|
|
A new macro `MOMENTUM(mSecPerStep)` sets the momentum value of the current tasks loco.
|
|
|
|
Note: Setting Momentum 7,14,21 etc is similar in effect to setting a decoder CV03 to 1,2,3. At present the same momentum value is used for acceleration and deceleration. The `<m>` command may be extended in future to separate these values.
|
|
|