Fork and fix for mwork
Dependencies: mbed-dev-f303 FastPWM3 millis
CAN/CAN_com.h@57:c26b0093783b, 2020-06-27 (annotated)
- Committer:
- annhandt09
- Date:
- Sat Jun 27 07:50:17 2020 +0000
- Revision:
- 57:c26b0093783b
- Parent:
- 47:e1196a851f76
Add default PID value
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); |
annhandt09 | 57:c26b0093783b | 11 | void replySche(CANMessage *msg, float p, float v, float t); |
benkatz | 42:738fa01b0346 | 12 | |
benkatz | 42:738fa01b0346 | 13 | #endif |