1
0
Fork 0
mirror of https://github.com/RobotechLille/cdf2018-principal synced 2024-06-01 02:25:00 +02:00
cdf2018-principal/chef/src/position.h

26 lines
349 B
C
Raw Normal View History

2018-04-04 16:17:13 +02:00
/*
* Fonctions de calcul de la position du robot
*/
#ifndef __POSITION_H_
#define __POSITION_H_
#include "CF.h"
#include <pthread.h>
2018-04-29 09:38:49 +02:00
// Structures
2018-04-04 16:17:13 +02:00
struct __attribute__ ((packed)) position {
float x;
float y;
float o;
};
// Fonctions
void configurePosition();
void deconfigurePosition();
2018-05-02 08:26:35 +02:00
void getCoders(long* l, long* r);
2018-04-04 16:17:13 +02:00
#endif