Versions Compared

Key

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

...

Input state

Drive state

Expected

Notes

throttle 0, brake 0

regen off, cruise off

Drive/Reverse/Neutral

current 0

velocity 0

throttle >0, brake 0

regen off, cruise off

Drive

current [throttle_outputl]

velocity 20,000

Neutral

current 0

velocity 0

Reverse

current [throttle_outputl]

velocity -20,000

throttle any, brake >0

regen off, cruise off,

Drive/Reverse/Neutral

current 0

velocity 0

throttle 0, brake 0

regen on, cruise off

Drive/Reverse

current 1

velocity 0

Neutral

current 1

velocity 0

Should this be

current 0

velocity 0?

throttle >0, brake 0

regen on, cruise off

Drive

current [throttle_outputl]

velocity 20,000

Neutral

current 0

velocity 0

Reverse

current [throttle_outputl]

velocity -20,000

throttle any, brake >0

regen on, cruise off

Drive/Reverse

current 1

velocity 0

Neutral

current 1

velocity 0

throttle 0, brake 0

regen on, cruise on

Drive

current 1

velocity [target_velocity]

Neutral

current 1

velocity 0

Should this be

current 0

velocity 0?

Reverse

current 1

velocity 0

throttle >0, brake 0

regen on, cruise on

Drive

current [throttle_outputl]

velocity 20,000

Neutral

current 0

velocity 0

Reverse

current [throttle_output]

velocity -20,000

throttle any, brake >0

regen on, cruise on

Drive/Reverse

current 1

velocity 0

Neutral

current 1

velocity 0

throttle 0, brake 0

regen off, cruise on

Drive

current 1

velocity [target_velocity]

Neutral

current 0

velocity 0

Reverse

current 0

velocity 0

throttle >0, brake 0

regen off, cruise on

Drive

current [throttle_outputl]

velocity 20,000

Neutral

current 0

velocity 0

Reverse

current [throttle_outputl]

velocity -20,000

throttle any, brake >0

regen off, cruise on

Drive/Neutral/Reverse

current 0

velocity 0

...