Commit 7c0c1d9
Body v2: Hoverboard Motors (#2308)
* body
* hoverboard motors
* pass test
* body ignition exception and remove used comms
Co-authored-by: rexblade21 <zkhuang4968@gmail.com>
* send extra empty message to distinguish fingerprint
* can.h body v2 put safety hook = 1
* change v2 extra id to 0x396
* fix mirsa style error
* move ignition exception to seperate bus 2 if statement
* silence heartbeat siren on body
* turn ignition off on switch repress
* 0x250 interception in panda fw
* send extra body data, same as v1 body
* cleanup data passing for more predictable inputs and lower rpm deadband
* remove extra downscaling
* change v2 fingerprint from 0x002 to 0x222
* clean up, bus 0 ignition exception and trq mode
* keep in SPD mode for now
* remove comment
* clean
* apply suggestions
---------
Co-authored-by: stefpi <19478336+stefpi@users.noreply.github.com>1 parent 14b1906 commit 7c0c1d9
19 files changed
Lines changed: 5031 additions & 543 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
11 | 34 | | |
12 | 35 | | |
13 | 36 | | |
14 | 37 | | |
15 | 38 | | |
16 | 39 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | 40 | | |
35 | 41 | | |
36 | 42 | | |
37 | 43 | | |
38 | 44 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| |||
0 commit comments