summaryrefslogtreecommitdiff
path: root/digital/io-hub/src/robospierre/element.h
diff options
context:
space:
mode:
Diffstat (limited to 'digital/io-hub/src/robospierre/element.h')
-rw-r--r--digital/io-hub/src/robospierre/element.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/digital/io-hub/src/robospierre/element.h b/digital/io-hub/src/robospierre/element.h
index fbe3bee5..4655c3c1 100644
--- a/digital/io-hub/src/robospierre/element.h
+++ b/digital/io-hub/src/robospierre/element.h
@@ -160,4 +160,13 @@ element_intersec_symetric (uint8_t element_id, uint8_t element_type);
uint8_t
element_nearest_element_id (position_t robot_pos);
+/**
+ Give the position where the robot need to be placed to get an element.
+ The position correspond to the emplacement of the element with an angle of
+ zero. If the element is in the green zone, the returned position include
+ the angle the robot need to set before moving to the element.
+ */
+position_t
+element_get_pos (uint8_t element_id);
+
#endif /* element_h */