ROBOSTEP_5期 / Mbed 2 deprecated George_Master_BOTHMOVE

Dependencies:   mbed robot

moves/moves.h

Committer:
yuto17320508
Date:
2019-05-06
Revision:
25:c740e6fd5dab
Parent:
22:0ed9de464f40
Child:
27:d392a95f4799

File content as of revision 25:c740e6fd5dab:

#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);

#endif