summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/getsamples.h
diff options
context:
space:
mode:
Diffstat (limited to 'digital/io/src/getsamples.h')
-rw-r--r--digital/io/src/getsamples.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/digital/io/src/getsamples.h b/digital/io/src/getsamples.h
index f7dd06a1..81d5ca6a 100644
--- a/digital/io/src/getsamples.h
+++ b/digital/io/src/getsamples.h
@@ -31,35 +31,18 @@
struct getsamples_data_t
{
/**
- * X position of the distributor where to get samples from.
- */
- uint32_t distributor_x;
- /**
- * Y position of the distributor where to get samples from.
- */
- uint32_t distributor_y;
- /**
* The angle to approach the distributor.
*/
- int16_t distributor_angle;
+ int16_t approach_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
* set to 0, the out_right_box will not be used to store a sample.
*/
uint8_t sample_bitfield;
- /**
- * Event to post to the top FSM when this one is finished.
- */
- uint8_t event;
};
/**
- * Get samples shared data.
- */
-extern struct getsamples_data_t getsamples_data;
-
-/**
* Start the get samples FSM.
* @param data get sample data initial configuration.
*/