From ed51ec3c5eb23aecb3a93b02814acf655ff62a0c Mon Sep 17 00:00:00 2001 From: Jérémy Dufour Date: Thu, 1 May 2008 01:08:56 +0200 Subject: * 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. --- digital/io/src/move.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'digital/io/src/move.h') 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; }; /** -- cgit v1.2.3