summaryrefslogtreecommitdiffhomepage
path: root/digital/beacon/src/position.h
diff options
context:
space:
mode:
authorFlorent Duchon2013-05-02 18:31:04 +0200
committerFlorent Duchon2013-05-02 22:52:49 +0200
commit865bbdf8d8bd5d8a1c6659a80b095d5afebd5c8f (patch)
treebfee932011288313570d605c57dde76284668c1a /digital/beacon/src/position.h
parent15d12fc607a9e78d377696f8e28c7971ca4e3d72 (diff)
digital/beacon: add position_get_beacon_angle() function
Diffstat (limited to 'digital/beacon/src/position.h')
-rw-r--r--digital/beacon/src/position.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/digital/beacon/src/position.h b/digital/beacon/src/position.h
index d8a6d011..1d51b9a0 100644
--- a/digital/beacon/src/position.h
+++ b/digital/beacon/src/position.h
@@ -103,4 +103,7 @@ int16_t position_get_coord(TOpponent_ID id, TCoord_type type);
/* This function returns the trust according to opponent number */
int8_t position_get_trust(TOpponent_ID id);
+/* This function returns the latest angle to a specified beacon */
+float position_get_beacon_angle(TBeacon_ID id);
+
#endif \ No newline at end of file