BLDC motor driver
Dependencies: mbed-dev-f303 FastPWM3
CAN/CAN_com.h@51:6cd89bd6fcaa, 2019-07-17 (annotated)
- Committer:
- benkatz
- Date:
- Wed Jul 17 03:40:12 2019 +0000
- Revision:
- 51:6cd89bd6fcaa
- Parent:
- 47:e1196a851f76
adding field-weakening to the user menu, switch "torque limit" to "current limit"
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 |