From d23d5d67bc7d78b318e81f6cd5703823a08dbbc0 Mon Sep 17 00:00:00 2001 From: Jérémy Dufour Date: Thu, 21 May 2009 03:23:43 +0200 Subject: * digital/io/src: - memorize the last moving direction. --- digital/io/src/asserv.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'digital/io/src/asserv.h') diff --git a/digital/io/src/asserv.h b/digital/io/src/asserv.h index 09fb88f4..253ef0a5 100644 --- a/digital/io/src/asserv.h +++ b/digital/io/src/asserv.h @@ -382,4 +382,11 @@ asserv_arm_zero_position (void); void asserv_elevator_zero_position (void); +/** + * Get the last moving direction of the bot. + * @return 1 is forward, 0 is backward. + */ +uint8_t +asserv_get_last_moving_direction (void); + #endif /* asserv_h */ -- cgit v1.2.3