summaryrefslogtreecommitdiff
path: root/i/marvin/src/asserv/asserv.cc
diff options
context:
space:
mode:
Diffstat (limited to 'i/marvin/src/asserv/asserv.cc')
-rw-r--r--i/marvin/src/asserv/asserv.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/i/marvin/src/asserv/asserv.cc b/i/marvin/src/asserv/asserv.cc
index 9298c3c..48c2ad5 100644
--- a/i/marvin/src/asserv/asserv.cc
+++ b/i/marvin/src/asserv/asserv.cc
@@ -324,7 +324,7 @@ Asserv::receive (char command, const Proto::Frame &frame)
break;
case 'X':
if (proto_.decode (frame, "DDD", x, y, a))
- receiver_.receivePos (stepToMm (x), stepToMm (y), avrToRad (a));
+ receiver_.receivePos (stepToMm (x / 256), stepToMm (y / 256), avrToRad (a));
break;
case 'S':
if (proto_.decode (frame, "BB", t, a))