1
0
Fork 0
mirror of https://github.com/RobotechLille/cdf2018-principal synced 2024-05-17 04:26:00 +02:00
cdf2018-principal/chef/src/movement.h

26 lines
416 B
C
Raw Normal View History

2018-04-04 16:17:13 +02:00
/*
* Fonctions de déplacment du robot
*/
2018-04-04 16:17:13 +02:00
#ifndef __MOVEMENT_H_
#define __MOVEMENT_H_
2018-05-09 04:10:45 +02:00
#define ANGLE_INSIGNIFIANT NAN
2018-05-11 15:58:18 +02:00
// #define ENABLE_SECURITE
2018-05-09 09:57:11 +02:00
2018-04-04 16:17:13 +02:00
#include "position.h"
2018-05-11 15:58:18 +02:00
// Public
2018-04-04 16:17:13 +02:00
void configureMovement();
void deconfigureMovement();
2018-05-06 18:35:26 +02:00
void setDestination(struct position* pos);
2018-05-09 04:10:45 +02:00
void waitDestination();
2018-05-11 15:58:18 +02:00
void enableAsservissement();
void disableAsservissement();
// Private
void* TaskMovement(void* pData);
2018-04-04 16:17:13 +02:00
#endif