Skip to content

Commit

Permalink
Msb yaml (#133)
Browse files Browse the repository at this point in the history
* init msb yaml

* add all other wheels

* fix wierd dup

* add mpu gyro
  • Loading branch information
jr1221 committed Jun 24, 2024
1 parent e3359df commit 14ee4ff
Show file tree
Hide file tree
Showing 3 changed files with 405 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cangen/can-messages/dti.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ msgs:
desc: "Brake_Current_Command"
fields:
- !NetField
name: "DTI/Commands/Brake_Current_Target"
name: "MPU/Commands/Brake_Current_Target"
unit: "A"
points:
- !CANPoint
Expand Down
25 changes: 20 additions & 5 deletions cangen/can-messages/mpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,34 @@ msgs:
- !CANPoint
size: 8


- !CANMsg
id: "0x500"
desc: "MPU Acceleromter"
desc: "MPU Sense Acceleromter"
fields:
- !NetField # X, Y, and Z should be decoded together
name: "MPU/Accel"
name: "MPU/Sense/Accel"
unit: "g"
points:
- !CANPoint
size: 16
- !CANPoint
size: 8
size: 16
- !CANPoint
size: 16

- !CANMsg
id: "0x506"
desc: "MPU Sense Gyro"
fields:
- !NetField # X, Y, and Z should be decoded together
name: "MPU/Sense/Gyro"
unit: ""
points:
- !CANPoint
size: 16
- !CANPoint
size: 16
- !CANPoint
size: 16

Expand All @@ -66,7 +81,7 @@ msgs:

- !CANMsg
id: "0x503"
desc: "MPU Sense"
desc: "MPU Sense Voltage"
fields:
- !NetField
name: "MPU/Sense/Voltage"
Expand Down
Loading

0 comments on commit 14ee4ff

Please sign in to comment.