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.
moves/moves.h@22:0ed9de464f40, 2019-05-03 (annotated)
- Committer:
- shimizuta
- Date:
- Fri May 03 09:34:05 2019 +0000
- Revision:
- 22:0ed9de464f40
- Child:
- 25:c740e6fd5dab
a
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
shimizuta | 22:0ed9de464f40 | 1 | #ifndef INCLUDED_MOVES_H |
shimizuta | 22:0ed9de464f40 | 2 | #define INCLUDED_MOVES_H |
shimizuta | 22:0ed9de464f40 | 3 | #include "robot.h" |
shimizuta | 22:0ed9de464f40 | 4 | extern Motor motor_lo, motor_li; //forward,backのピンを代入 |
shimizuta | 22:0ed9de464f40 | 5 | |
shimizuta | 22:0ed9de464f40 | 6 | void reset(); |
shimizuta | 22:0ed9de464f40 | 7 | void SetupMoves(); |
shimizuta | 22:0ed9de464f40 | 8 | |
shimizuta | 22:0ed9de464f40 | 9 | void straight(); |
shimizuta | 22:0ed9de464f40 | 10 | void turnLeft(); |
shimizuta | 22:0ed9de464f40 | 11 | void curveLeft(); |
shimizuta | 22:0ed9de464f40 | 12 | void turnRight(); |
shimizuta | 22:0ed9de464f40 | 13 | void curveRight(); |
shimizuta | 22:0ed9de464f40 | 14 | void turn(float target_degree);//回転角, 収束許容誤差 |
shimizuta | 22:0ed9de464f40 | 15 | void straightAndInfinity(float target_degree, float tolerance_degree);//角度を補正するのと前進 |
shimizuta | 22:0ed9de464f40 | 16 | |
shimizuta | 22:0ed9de464f40 | 17 | #endif |