summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/asserv/asserv.cc
diff options
context:
space:
mode:
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);
}