summaryrefslogtreecommitdiff
path: root/digital/beacon/src/position.h
diff options
context:
space:
mode:
Diffstat (limited to 'digital/beacon/src/position.h')
-rw-r--r--digital/beacon/src/position.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/digital/beacon/src/position.h b/digital/beacon/src/position.h
index c5052fda..215c64ba 100644
--- a/digital/beacon/src/position.h
+++ b/digital/beacon/src/position.h
@@ -53,16 +53,16 @@ typedef enum{
/* Beacon Structure */
typedef struct
{
- int angleNumber;
+ uint16_t angleNumber;
float angle[MAX_OBSTACLE+1];
}beacon_s;
/* Obstacle structure */
typedef struct
{
- int x;
- int y;
- int trust;
+ int16_t x;
+ int16_t y;
+ int8_t trust;
}opponent_s;
/* Coordinates structure */