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
- Committer:
- shimizuta
- Date:
- 2019-05-27
- Revision:
- 58:dc0faefeba39
- Parent:
- 53:4673b85e1d2a
File content as of revision 58:dc0faefeba39:
#ifndef INCLUDED_MOVES_H #define INCLUDED_MOVES_H #include "robot.h" extern Motor motor_lo, motor_li; //forward,backのピンを代入 void reset(); void SetupMoves(); void stop(); void straight(); void turnLeft(); void curveLeft(); void turnRight(); void curveRight(); void phasing(float target_degree); void turn(float target_degree);//回転角, 収束許容誤差 void straightAndInfinity(float target_degree, float tolerance_degree);//角度を補正するのと前進 void lopeAndInfinity(float target_degree, float tolerance_degree); void climbAndInfinity(float target_degree, float tolerance_integral); void HandMove(); void ResetRun(); #endif