Fork and fix for mwork
Dependencies: mbed-dev-f303 FastPWM3 millis
macro.h@59:568e7be5232f, 2020-06-29 (annotated)
- Committer:
- annhandt09
- Date:
- Mon Jun 29 09:36:26 2020 +0000
- Revision:
- 59:568e7be5232f
- Parent:
- 58:fb799e99a5f7
add controller.p_des = controller.theta_mech - (controller.t_ff / controller.kp) ; for first enable.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
annhandt09 | 55:fee62d8fd8fb | 1 | #ifndef macro_h |
annhandt09 | 55:fee62d8fd8fb | 2 | #define macro_h |
annhandt09 | 58:fb799e99a5f7 | 3 | #include "mbed.h" |
annhandt09 | 55:fee62d8fd8fb | 4 | #include "mode.h" |
annhandt09 | 58:fb799e99a5f7 | 5 | |
annhandt09 | 55:fee62d8fd8fb | 6 | extern Serial *pc ; |
annhandt09 | 55:fee62d8fd8fb | 7 | extern int io_mode; |
annhandt09 | 58:fb799e99a5f7 | 8 | #define Serial_printf(...) cond_printf(__VA_ARGS__) |
annhandt09 | 58:fb799e99a5f7 | 9 | void cond_printf(const char *format, ...); |
annhandt09 | 55:fee62d8fd8fb | 10 | #endif |