Reviewed-on: https://git.fisionx.mooo.com/FisionX/Micromouse/pulls/4 Co-authored-by: fernando <fherpato8@gmail.com> Co-committed-by: fernando <fherpato8@gmail.com>
32 lines
442 B
C++
32 lines
442 B
C++
#include "api.h"
|
|
#include "mm.hpp"
|
|
|
|
/* TO DO
|
|
* Terminar las funciones wallfront, wallright, wallleft
|
|
* Definir los pines usados en mm.hpp
|
|
*/
|
|
|
|
bool API::wallFront() {
|
|
bool wallfront;
|
|
return wallfront;
|
|
}
|
|
|
|
bool API::wallRight() {
|
|
bool wallright;
|
|
return wallright;
|
|
}
|
|
|
|
bool API::wallLeft() {
|
|
bool wallleft;
|
|
return wallleft;
|
|
}
|
|
|
|
void API::moveForward(int distance) {
|
|
}
|
|
|
|
void API::turnRight() {
|
|
}
|
|
|
|
void API::turnLeft() {
|
|
}
|