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-08
- Revision:
- 27:d392a95f4799
- Parent:
- 25:c740e6fd5dab
- Child:
- 29:81d159ff339a
File content as of revision 27:d392a95f4799:
#ifndef INCLUDED_MOVES_H #define INCLUDED_MOVES_H #include "robot.h" extern Motor motor_lo, motor_li; //forward,backのピンを代入 void reset(); void SetupMoves(); void onestraight(); void straight(); void turnLeft(); void curveLeft(); void backLeft(); void turnRight(); void curveRight(); void backRight(); void turn(float target_degree);//回転角, 収束許容誤差 void straightAndInfinity(float target_degree, float tolerance_degree);//角度を補正するのと前進 void climbAndInfinity(float target_degree, float tolerance_integral); void HandMove(); #endif