summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/move.h
diff options
context:
space:
mode:
authorJérémy Dufour2008-05-01 01:08:56 +0200
committerJérémy Dufour2008-05-01 01:08:56 +0200
commited51ec3c5eb23aecb3a93b02814acf655ff62a0c (patch)
tree4035c8643efae11ef9229d3b14b9eb4a5843eaaf /digital/io/src/move.h
parent6c24ad4df20a1270dd15aac0314b1d68ca167eef (diff)
* digital/io/src
- enhance move FSM with support to stop when there is no valid path found to avoid the obstacle ; - add a flag to be notified from the main loop after a certain amount of time.
Diffstat (limited to 'digital/io/src/move.h')
-rw-r--r--digital/io/src/move.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/digital/io/src/move.h b/digital/io/src/move.h
index 5a328950..1b1621af 100644
--- a/digital/io/src/move.h
+++ b/digital/io/src/move.h
@@ -49,6 +49,8 @@ struct move_data_t
move_position_t obstacle;
/** Backward direction allowed flag. */
uint8_t backward_movement_allowed;
+ /** Cached moving direction of the bot when blocked. */
+ uint8_t cached_moving_direction;
};
/**