summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/move.h
diff options
context:
space:
mode:
Diffstat (limited to 'digital/io/src/move.h')
-rw-r--r--digital/io/src/move.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/digital/io/src/move.h b/digital/io/src/move.h
index 6a53725f..8eb485a0 100644
--- a/digital/io/src/move.h
+++ b/digital/io/src/move.h
@@ -25,6 +25,7 @@
*
* }}} */
+#include "modules/math/geometry/vect.h"
#include "asserv.h"
/**
@@ -33,9 +34,9 @@
typedef struct move_position_t
{
/** X position. */
- uint16_t x;
+ int16_t x;
/** Y position. */
- uint16_t y;
+ int16_t y;
/** A angle. */
uint16_t a;
} move_position_t;
@@ -47,10 +48,6 @@ struct move_data_t
{
/** Final position. */
move_position_t final;
- /** Intermediate position. */
- move_position_t intermediate;
- /** Obstacle position. */
- move_position_t obstacle;
/** Backward direction allowed flag. */
uint8_t backward_movement_allowed;
/** Try again counter. */