Mini Cheetah Actuator Branch Superseded by: https://github.com/bgkatz/motorcontrol
Dependencies: mbed-dev-f303 FastPWM3
Superseded by: https://github.com/bgkatz/motorcontrol
CAN/CAN_com.h@56:fe5056ac6740, 2019-10-10 (annotated)
- Committer:
- benkatz
- Date:
- Thu Oct 10 15:03:12 2019 +0000
- Revision:
- 56:fe5056ac6740
- Parent:
- 47:e1196a851f76
fixed position-sensor turn-on weirdness; ; improved output zeroing to work independent of encoder rollover angle
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
benkatz | 42:738fa01b0346 | 1 | #ifndef CAN_COM_H |
benkatz | 42:738fa01b0346 | 2 | #define CAN_COM_H |
benkatz | 42:738fa01b0346 | 3 | |
benkatz | 47:e1196a851f76 | 4 | #include "../structs.h" |
benkatz | 42:738fa01b0346 | 5 | #include "user_config.h" |
benkatz | 42:738fa01b0346 | 6 | #include "mbed.h" |
benkatz | 47:e1196a851f76 | 7 | #include "../math_ops.h" |
benkatz | 42:738fa01b0346 | 8 | |
benkatz | 42:738fa01b0346 | 9 | void pack_reply(CANMessage *msg, float p, float v, float t); |
benkatz | 42:738fa01b0346 | 10 | void unpack_cmd(CANMessage msg, ControllerStruct * controller); |
benkatz | 42:738fa01b0346 | 11 | |
benkatz | 42:738fa01b0346 | 12 | |
benkatz | 42:738fa01b0346 | 13 | #endif |