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
hostsim enhancements, some bugs remaining (freeze sometimes)
[aversive.git]
/
modules
/
devices
/
robot
/
obstacle_avoidance
/
obstacle_avoidance.c
diff --git
a/modules/devices/robot/obstacle_avoidance/obstacle_avoidance.c
b/modules/devices/robot/obstacle_avoidance/obstacle_avoidance.c
index
ee8a655
..
5b19ed3
100755
(executable)
--- a/
modules/devices/robot/obstacle_avoidance/obstacle_avoidance.c
+++ b/
modules/devices/robot/obstacle_avoidance/obstacle_avoidance.c
@@
-164,7
+164,7
@@
void oa_dump(void)
printf_P(PSTR("poly #%d\r\n"), i);
for (j=0; j<poly->l; j++) {
pt = &poly->pts[j];
- printf_P(PSTR(" pt #%d (%
"PRIi32",%"PRIi32"
)\r\n"), j, pt->x, pt->y);
+ printf_P(PSTR(" pt #%d (%
2.2f,%2.2f
)\r\n"), j, pt->x, pt->y);
}
}
}