Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
include/dynamics.hpp@23:112c0be5a7f3, 2013-11-19 (annotated)
- Committer:
- calamaridudeman
- Date:
- Tue Nov 19 19:07:35 2013 +0000
- Revision:
- 23:112c0be5a7f3
- Parent:
- dynamics.hpp@22:4d85d989af08
- Child:
- 25:8a34b8d6cc6e
- Child:
- 34:f3a1273e3361
fixed all the java-esque code to be cpp, have bezier and geometry code working solid
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
calamaridudeman | 22:4d85d989af08 | 1 | #include "mbed.h" |
calamaridudeman | 22:4d85d989af08 | 2 | |
calamaridudeman | 22:4d85d989af08 | 3 | #ifndef DYNAMICS_HPP |
calamaridudeman | 22:4d85d989af08 | 4 | #define DYNAMICS_HPP |
calamaridudeman | 22:4d85d989af08 | 5 | |
calamaridudeman | 22:4d85d989af08 | 6 | #define l1 1 //gantry point to hip joint |
calamaridudeman | 22:4d85d989af08 | 7 | #define l2 1 //hip length |
calamaridudeman | 22:4d85d989af08 | 8 | #define l3 1 //leg length |
calamaridudeman | 22:4d85d989af08 | 9 | #define l4 1 //foot length |
calamaridudeman | 16:c21df8c0c458 | 10 | |
calamaridudeman | 22:4d85d989af08 | 11 | class Kangaroo { |
calamaridudeman | 22:4d85d989af08 | 12 | |
calamaridudeman | 22:4d85d989af08 | 13 | public: |
calamaridudeman | 22:4d85d989af08 | 14 | Kangaroo(); |
calamaridudeman | 22:4d85d989af08 | 15 | void zero(); |
calamaridudeman | 22:4d85d989af08 | 16 | void start(); |
calamaridudeman | 22:4d85d989af08 | 17 | void run(); |
calamaridudeman | 22:4d85d989af08 | 18 | void stop(); |
calamaridudeman | 22:4d85d989af08 | 19 | void updatePose(); |
calamaridudeman | 22:4d85d989af08 | 20 | }; |
calamaridudeman | 22:4d85d989af08 | 21 | |
calamaridudeman | 22:4d85d989af08 | 22 | #endif |