scoutos / scout / libscout / src / helper_classes / ScoutPosition.h @ bb64f5e5
History | View | Annotate | Download (297 Bytes)
1 |
#ifndef _SCOUT_POSITION_
|
---|---|
2 |
#define _SCOUT_POSITION_
|
3 |
|
4 |
#include <string> |
5 |
|
6 |
struct pos
|
7 |
{ |
8 |
float x;
|
9 |
float y;
|
10 |
float theta;
|
11 |
std::string name; |
12 |
|
13 |
public:
|
14 |
void init();
|
15 |
void set_name(std::string new_name);
|
16 |
void update(float new_x, float new_y, float new_t); |
17 |
}; |
18 |
|
19 |
typedef struct pos pos; |
20 |
|
21 |
|
22 |
|
23 |
#endif
|