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@27:d392a95f4799, 2019-05-08 (annotated)
- Committer:
- shimizuta
- Date:
- Wed May 08 02:55:40 2019 +0000
- Revision:
- 27:d392a95f4799
- Parent:
- 25:c740e6fd5dab
- Child:
- 29:81d159ff339a
debuging
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 | |
yuto17320508 | 25:c740e6fd5dab | 9 | void onestraight(); |
yuto17320508 | 25:c740e6fd5dab | 10 | |
shimizuta | 22:0ed9de464f40 | 11 | void straight(); |
shimizuta | 22:0ed9de464f40 | 12 | void turnLeft(); |
shimizuta | 22:0ed9de464f40 | 13 | void curveLeft(); |
yuto17320508 | 25:c740e6fd5dab | 14 | void backLeft(); |
shimizuta | 22:0ed9de464f40 | 15 | void turnRight(); |
shimizuta | 22:0ed9de464f40 | 16 | void curveRight(); |
yuto17320508 | 25:c740e6fd5dab | 17 | void backRight(); |
shimizuta | 22:0ed9de464f40 | 18 | void turn(float target_degree);//回転角, 収束許容誤差 |
shimizuta | 22:0ed9de464f40 | 19 | void straightAndInfinity(float target_degree, float tolerance_degree);//角度を補正するのと前進 |
yuto17320508 | 25:c740e6fd5dab | 20 | void climbAndInfinity(float target_degree, float tolerance_integral); |
shimizuta | 27:d392a95f4799 | 21 | void HandMove(); |
shimizuta | 22:0ed9de464f40 | 22 | #endif |