From a3fdbecac564a600c65568cac0e02fc72604567e Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Thu, 12 May 2011 23:42:26 +0200 Subject: digital/{ai,io-hub}, host/simu/robots/robospierre: add doors and element move --- digital/io-hub/src/robospierre/clamp.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'digital/io-hub/src/robospierre/clamp.h') diff --git a/digital/io-hub/src/robospierre/clamp.h b/digital/io-hub/src/robospierre/clamp.h index 104e3cb8..7b488f92 100644 --- a/digital/io-hub/src/robospierre/clamp.h +++ b/digital/io-hub/src/robospierre/clamp.h @@ -40,6 +40,10 @@ enum { CLAMP_BAY_BACK_LEAVE, /* Enter the side bay. Position on the side, above wheels. */ CLAMP_BAY_SIDE_ENTER_LEAVE, + /** Total number of position, including intermediary positions. */ + CLAMP_POS_NB, + /** Number of slots. */ + CLAMP_SLOT_NB = CLAMP_SLOT_SIDE + 1, }; /** Is slot in front bay? */ @@ -54,4 +58,8 @@ enum { void clamp_move (uint8_t pos); +/** Move element using clamp. */ +void +clamp_move_element (uint8_t from, uint8_t to); + #endif /* clamp_h */ -- cgit v1.2.3