yei
Dependencies: interface mbed enc_1multi calPID motorout KondoServoLibrary
Fork of cat18_operate by
go/go.h@5:af5ccfce1b90, 2018-08-09 (annotated)
- Committer:
- shimizuta
- Date:
- Thu Aug 09 07:22:46 2018 +0000
- Revision:
- 5:af5ccfce1b90
- Parent:
- 4:187c62291654
- Child:
- 8:cabc50cf3e1e
compile ok
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
shimizuta | 4:187c62291654 | 1 | #ifndef INCLUDED_GO_H |
shimizuta | 4:187c62291654 | 2 | #define INCLUDED_GO_H |
shimizuta | 1:cc056c41ae30 | 3 | /** @file |
shimizuta | 1:cc056c41ae30 | 4 | @brief 目標位置まで行くプログラム. |
shimizuta | 1:cc056c41ae30 | 5 | */ |
shimizuta | 1:cc056c41ae30 | 6 | #include "state.h" |
shimizuta | 4:187c62291654 | 7 | extern int isInterrupt; |
shimizuta | 5:af5ccfce1b90 | 8 | extern const double kPIDTicker_s; |
shimizuta | 4:187c62291654 | 9 | extern const double kServoTicker_s; |
shimizuta | 2:4515e8cc6b60 | 10 | |
shimizuta | 2:4515e8cc6b60 | 11 | void GoSetup(); |
shimizuta | 2:4515e8cc6b60 | 12 | void PIDInterrupt(); |
shimizuta | 4:187c62291654 | 13 | void ServoTargetInterrupt(); |
shimizuta | 4:187c62291654 | 14 | ///@return 成功:0 中断:-1 |
shimizuta | 4:187c62291654 | 15 | int MoveToTarget(const double target_mm[3], WorkState &state); |
shimizuta | 5:af5ccfce1b90 | 16 | int Go(WorkState &workstate); |
shimizuta | 5:af5ccfce1b90 | 17 | void Above(); |
shimizuta | 2:4515e8cc6b60 | 18 | |
shimizuta | 1:cc056c41ae30 | 19 | #endif |