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.
Diff: moves/moves.h
- Revision:
- 40:23a64e9f46a6
- Parent:
- 31:ed4249a288d7
--- a/moves/moves.h Wed May 15 12:53:14 2019 +0000 +++ b/moves/moves.h Thu May 16 06:34:39 2019 +0000 @@ -2,18 +2,33 @@ #define INCLUDED_MOVES_H #include "robot.h" extern Motor motor_lo, motor_li; //forward,backのピンを代入 - +namespace Moves{ void reset(); void SetupMoves(); +void phasing(float target_degree); +void turn(float target_degree);//回転角, 収束許容誤差 +void climbAndInfinity(float target_degree, float tolerance_integral); +void HandMove(); + +void straightAndInfinity(float target_degree, float tolerance_degree);//角度を補正するのと前進 void stop(); void straight(); void turnLeft(); void curveLeft(); void turnRight(); void curveRight(); -void phasing(float target_degree); -void turn(float target_degree);//回転角, 収束許容誤差 +}//namespace Moves + + + +namespace UnSync +{ void straightAndInfinity(float target_degree, float tolerance_degree);//角度を補正するのと前進 -void climbAndInfinity(float target_degree, float tolerance_integral); -void HandMove(); +void stop(); +void straight(); +void turnLeft(); +void curveLeft(); +void turnRight(); +void curveRight(); +}//namespace UnSync #endif \ No newline at end of file