Pedal Board Validation
Intro
The pedal board has both a calibration component and a normal mode. The calibration is structured as a test and provides instructions via minicom.
PEDAL_OUTPUT
CAN message:
ID:
0x12
4 LSB are throttle output U32
4 MSB are brake output U32
Action | Expected Result | Actual / Notes | |
---|---|---|---|
1 | Compile | No compilation errors | PASS |
2 | Connect CAN dongle | Nothing, haven’t flashed project yet |
|
3 | Run pedal calib test with Follow instructions given over minicom. | Calibration will be checked in later steps. |
|
4 | Flash | “Welcome to Pedal” followed by some other logs expected. CAN messages expected to appear. |
|
5 | Make sure pedal and brake are not pressed. Observe CAN messages. |
|
|
6 | Depress pedal and brake all the way. | First four message bytes should be very similar to last four message bytes. |
|
7 | Depress pedal all the way and release brake. | Brake value should go to near zero. |
|
8 | Depress brake all the way and release pedal. | Maximum brake value should be the same as max pedal value. |
|
9 | Release both. Slowly depress throttle. | Observe throttle value slowly increasing from minimum to maximum. |
|
10 | Release both. Slowly depress brake. | Observe brakevalue slowly increasing from minimum to maximum. |
|