Skip to content

Commit

Permalink
notes only
Browse files Browse the repository at this point in the history
  • Loading branch information
Asbelos committed Jul 25, 2024
1 parent 2d58d06 commit 60c62f6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Release_Notes/momentum.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,19 @@ 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>`
There is a new command `<m cabid accelerating [brake]>`
where the brake value defaults to the accelerating value.

For example:
`<m 3 0>` sets loco 3 to no momentum.
`<m 3 21>` sets loco 3 to 21 mS/step.
`<m 3 21 42>` sets loco 3 to 21 mS/step accelerating and 42 mS/step when decelerating.

`<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.
A new macro `MOMENTUM(accel [, decel])` sets the momentum value of the current tasks loco ot the global default if loco=0.

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.
Note: Setting Momentum 7,14,21 etc is similar in effect to setting a decoder CV03/CV04 to 1,2,3.

0 comments on commit 60c62f6

Please sign in to comment.