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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/digital/io/src/move.h b/digital/io/src/move.h
index c504a0b2..214fddba 100644
--- a/digital/io/src/move.h
+++ b/digital/io/src/move.h
@@ -47,6 +47,8 @@ struct move_data_t
{
/** Final position. */
position_t final;
+ /** Use angle consign for final point. */
+ uint8_t with_angle;
/** Next step. */
vect_t step;
/** Backward direction allowed flag. */
@@ -71,6 +73,10 @@ extern struct move_data_t move_data;
void
move_start (position_t position, uint8_t backward);
+/** Go to a position, with no angle consign. */
+void
+move_start_noangle (vect_t position, uint8_t backward);
+
/** To be called when obstacles positions are computed. */
void
move_obstacles_update (void);