From 011fd3e4e4d252d02df156a7679c6156cdc72c6a Mon Sep 17 00:00:00 2001 From: Jérémy Dufour Date: Mon, 14 Apr 2008 12:04:01 +0200 Subject: * digital/io/src * asserv - add an goto_angle (not implemented yet). * get sample FSM - the get sample FSM will not call any other FSM (like the move). Instead, it assumes we are already at the right place, we just ensure the angle is correct ; - update the first state in consequences ; - add an angle as parameters (maybe we can remove the X/Y). * general defines - add define to ease the opening of the input hole. --- digital/io/src/getsamples.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'digital/io/src/getsamples.h') diff --git a/digital/io/src/getsamples.h b/digital/io/src/getsamples.h index c033665d..f7dd06a1 100644 --- a/digital/io/src/getsamples.h +++ b/digital/io/src/getsamples.h @@ -38,6 +38,10 @@ struct getsamples_data_t * Y position of the distributor where to get samples from. */ uint32_t distributor_y; + /** + * The angle to approach the distributor. + */ + int16_t distributor_angle; /** * Bit field to indicate where to put the sample. * If bit 0 is set to 1, a sample will be put into the out_right_box. If -- cgit v1.2.3