summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/asserv/asserv.cc
diff options
context:
space:
mode:
authordufourj2005-05-05 21:17:38 +0000
committerdufourj2005-05-05 21:17:38 +0000
commit73a8910c6b5cb221534d788f72e2e7ab73210ca8 (patch)
treedc8608480c54ccae96f2b49a76fe006a0c2a723a /2005/i/robert/src/asserv/asserv.cc
parent82c3720ff7124596b2fdd2d214b6b253ebed83f7 (diff)
Correction de petits problèmes dans asserv et pleins d'autres boulettes.
Diffstat (limited to '2005/i/robert/src/asserv/asserv.cc')
-rw-r--r--2005/i/robert/src/asserv/asserv.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/2005/i/robert/src/asserv/asserv.cc b/2005/i/robert/src/asserv/asserv.cc
index 41ba763..8b60a27 100644
--- a/2005/i/robert/src/asserv/asserv.cc
+++ b/2005/i/robert/src/asserv/asserv.cc
@@ -324,7 +324,7 @@ double Asserv::getAccel(void)
void Asserv::setMaxSpeed(int maxSLin, int maxSRot)
{
maxSLin_ = (maxSLin > 0 ? maxSLin : maxSLin_);
- maxSRot_ = (maxSRot > 0 ? maxSLin : maxSLin_);
+ maxSRot_ = (maxSRot > 0 ? maxSRot : maxSRot_);
// Envoie ŕ l'AVR
proto_.send('p',"bbb", 'm', maxSLin, maxSRot);
}