git.droids-corp.org
/
aversive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: fix test programs using old uart API
[aversive.git]
/
projects
/
microb2010
/
tests
/
beacon_tsop
/
trigo.c
diff --git
a/projects/microb2010/tests/beacon_tsop/trigo.c
b/projects/microb2010/tests/beacon_tsop/trigo.c
index
df45edf
..
90fb799
100644
(file)
--- a/
projects/microb2010/tests/beacon_tsop/trigo.c
+++ b/
projects/microb2010/tests/beacon_tsop/trigo.c
@@
-43,9
+43,10
@@
static int dprint = 0;
#define ANGLE_EPSILON 0.005
#define ANGLE_EPSILON 0.005
-const point_t beacon0 = { 0, 1050 };
-const point_t beacon1 = { 3000, 0 };
-const point_t beacon2 = { 3000, 2100 };
+/* valid for yellow */
+point_t beacon0 = { -70, 1050 };
+point_t beacon1 = { 3065, -65 };
+point_t beacon2 = { 3065, 2165 };
static inline double abs_dbl(double x)
{
static inline double abs_dbl(double x)
{