test
Dependencies: mbed ros_lib_kinetic nhk19mr2_can_info splitData SerialHalfDuplex_HM
servo_and_movefunc.h@50:36741e8ab197, 2019-03-11 (annotated)
- Committer:
- shimizuta
- Date:
- Mon Mar 11 10:38:07 2019 +0000
- Revision:
- 50:36741e8ab197
- Parent:
- 43:2ed84f3558c1
a
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
shimizuta | 43:2ed84f3558c1 | 1 | #ifndef INCLUDED_SERVOANDMOVEFUNC_H |
shimizuta | 43:2ed84f3558c1 | 2 | #define INCLUDED_SERVOANDMOVEFUNC_H |
shimizuta | 43:2ed84f3558c1 | 3 | #include "stdio.h" |
shimizuta | 43:2ed84f3558c1 | 4 | #include "Walk.h" |
shimizuta | 43:2ed84f3558c1 | 5 | #include "OneLeg.h" |
shimizuta | 43:2ed84f3558c1 | 6 | #include "mbed.h" |
shimizuta | 43:2ed84f3558c1 | 7 | extern FILE *fp; |
shimizuta | 43:2ed84f3558c1 | 8 | extern DigitalOut led[4]; |
shimizuta | 43:2ed84f3558c1 | 9 | int MoveOneCycle(Walk walkway, OneLeg leg[4]); |
shimizuta | 43:2ed84f3558c1 | 10 | void MoveServo(OneLeg leg, int legnum, int servo_id); |
shimizuta | 43:2ed84f3558c1 | 11 | void WaitStdin(char startchar); |
shimizuta | 43:2ed84f3558c1 | 12 | int FileOpen(); |
shimizuta | 50:36741e8ab197 | 13 | unsigned int GetDist_cm(); |
shimizuta | 43:2ed84f3558c1 | 14 | #endif |