path: root/digital/io/src/getsamples.h
diff options
authorJérémy Dufour2008-05-03 12:43:19 +0200
committerJérémy Dufour2008-05-03 12:43:19 +0200
commit23bce6a75a17b9cd9d3f35a251baa1b0635697a4 (patch)
treecc53e275464e9e86cf6fe705497d0212fea960f1 /digital/io/src/getsamples.h
parent1bcff7dbcbb284f5564ac708292b23fd447395a9 (diff)
* digital/io/src
- manage the event where the bot can be blocked (when moving) in the different FSM, by waiting and trying again ; - ensure we update the classifier (with the servos motor) even when the arm move in a state where it should not.
Diffstat (limited to 'digital/io/src/getsamples.h')
1 files changed, 3 insertions, 1 deletions
diff --git a/digital/io/src/getsamples.h b/digital/io/src/getsamples.h
index e927397e..2adf0cb4 100644
--- a/digital/io/src/getsamples.h
+++ b/digital/io/src/getsamples.h
@@ -47,6 +47,7 @@ struct getsamples_data_t
uint8_t sample_bitfield;
/** Position of the arm where we want to be awken. */
uint16_t arm_noted_position;
+ uint8_t direction;
@@ -60,6 +61,7 @@ struct getsamples_data_t
* used to know the number of samples to collect from the distributor.
-getsamples_start (int16_t approach_angle, uint8_t sample_bitfield);
+getsamples_start (int16_t approach_angle, uint8_t sample_bitfield, uint8_t
+ direction);
#endif /* getsamples_h */