Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Input state

Expected

Notes

state Drive/Reverse/Neutral

throttle 0, brake 0

regen off, cruise off

current 0

velocity 0

state Drive

throttle 0.5, brake 0

regen off, cruise off,

current 0.5

velocity 20,000

state Neutral

throttle 0.5, brake 0

regen onoff, cruise onoff,

current 0

velocity 0

state Reverse

throttle 0.5, brake 0

regen on, cruise onoff, cruise off,

current -0.5

velocity 0

state Drive/Neutral/Reverse

throttle any, brake >0

regen off, cruise off,

current 0

velocity 0