ROBOSTEP_5期 / Mbed 2 deprecated George_Master_BOTHMOVE

Dependencies:   mbed robot

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