sra-romi

Dependencies:   BufferedSerial Matrix

Committer:
joaopsousa99
Date:
Tue May 11 18:10:22 2021 +0000
Revision:
4:1defb279922a
as.djvblaskdvj

Who changed what in which revision?

UserRevisionLine numberNew contents of line
joaopsousa99 4:1defb279922a 1 #ifndef CONTROL_H_
joaopsousa99 4:1defb279922a 2 #define CONTROL_H_
joaopsousa99 4:1defb279922a 3
joaopsousa99 4:1defb279922a 4 #include "mbed.h"
joaopsousa99 4:1defb279922a 5 #include "Matrix.h"
joaopsousa99 4:1defb279922a 6
joaopsousa99 4:1defb279922a 7 extern const float TIMESTEP;
joaopsousa99 4:1defb279922a 8 extern const float PI;
joaopsousa99 4:1defb279922a 9 extern const float CELL_SIZE;
joaopsousa99 4:1defb279922a 10 extern const int GRID_SIZE;
joaopsousa99 4:1defb279922a 11
joaopsousa99 4:1defb279922a 12 void moveToPoint(float xObj, float yObj);
joaopsousa99 4:1defb279922a 13 void followPath(float &objAheadX, float &objAheadY, float &intError, float *objCellCenter, Matrix occupationGrid, Serial pc);
joaopsousa99 4:1defb279922a 14 float vff(Matrix occupationGrid, int *xactive, int *yactive, int activeSize, float *objCellCenter, Serial pc);
joaopsousa99 4:1defb279922a 15 Matrix create_occupation_grid();
joaopsousa99 4:1defb279922a 16
joaopsousa99 4:1defb279922a 17 #endif