summaryrefslogtreecommitdiff
path: root/digital
diff options
context:
space:
mode:
authorNicolas Schodet2010-05-10 23:55:26 +0200
committerNicolas Schodet2010-05-10 23:55:26 +0200
commit4dc30e3a894e0afda356ff50fc213e0ec3986933 (patch)
treeef0adf4c68d4ead6a0e07db46191ebe4b811312a /digital
parent5be07e742c2d65cd037e79d8a8a2377bab8ed448 (diff)
digital/io, digital/asserv: update after asserv counters calibration
Diffstat (limited to 'digital')
-rw-r--r--digital/asserv/tools/asserv/init.py4
-rw-r--r--digital/io/src/bot.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/digital/asserv/tools/asserv/init.py b/digital/asserv/tools/asserv/init.py
index f6e3169f..fe6b8b5b 100644
--- a/digital/asserv/tools/asserv/init.py
+++ b/digital/asserv/tools/asserv/init.py
@@ -13,8 +13,8 @@ host = dict (
l = 0x1000,
)
target = dict (
- scale = 0.0413530725332892, f = 0xcf7,
- c = float (0x0100b9e4) / (1 << 24),
+ scale = 0.0415178942124, f = 0xcef,
+ c = float (0x00ffbabf) / (1 << 24),
tkp = 1, tkd = 16,
ta = 0.75, tsm = 0x20, tss = 0x10,
akp = 2, akd = 16,
diff --git a/digital/io/src/bot.h b/digital/io/src/bot.h
index 7ea120b4..77fe686b 100644
--- a/digital/io/src/bot.h
+++ b/digital/io/src/bot.h
@@ -40,7 +40,7 @@
#ifdef HOST
# define BOT_SCALE 0.0395840674352314
#else
-# define BOT_SCALE 0.0413530725332892
+# define BOT_SCALE 0.0415178942124
#endif
/** Distance from the robot axis to the front. */