Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Robot2016_2-0 by
Map/Objectif/objectif.h
- Committer:
- IceTeam
- Date:
- 2016-05-04
- Revision:
- 63:176d04975f06
- Parent:
- 62:80a81e4ad9f8
- Child:
- 64:24e1057a97f7
File content as of revision 63:176d04975f06:
#ifndef OBJECTIF_H
#define OBJECTIF_H
/* Dernier Changement : Romain 20h20
Inclu dans : map.h */
#include "objectif_type.h"
#include "../../AX12/AX12.h"
#include "../../ControlleurPince/ControlleurPince.h"
class objectif {
public:
objectif (int ntype, float nx_obj, float ny_obj, float nthet_obj, AX12 * np, ControlleurPince * npince);
bool Action ();
float getX() { return x_objectif; }
float getY() { return y_objectif; }
float getThet() { return thet_objectif; }
private:
bool obj_bloc_action();
bool obj_para_action();
int type;
float x_objectif, y_objectif, thet_objectif;
AX12 * Parasol;
ControlleurPince * pince;
};
#endif
