[Jderobot-admin] jderobot-r1068 - trunk/src/stable/components/gazeboserver/plugins/nao

bmenendez en jderobot.org bmenendez en jderobot.org
Dom Oct 20 11:07:36 CEST 2013


Author: bmenendez
Date: 2013-10-20 11:07:36 +0200 (Sun, 20 Oct 2013)
New Revision: 1068

Modified:
   trunk/src/stable/components/gazeboserver/plugins/nao/poseneckspeed.cc
Log:
Fixed a minor bug in the Nao's neck speed controller.


Modified: trunk/src/stable/components/gazeboserver/plugins/nao/poseneckspeed.cc
===================================================================
--- trunk/src/stable/components/gazeboserver/plugins/nao/poseneckspeed.cc	2013-10-19 12:14:46 UTC (rev 1067)
+++ trunk/src/stable/components/gazeboserver/plugins/nao/poseneckspeed.cc	2013-10-20 09:07:36 UTC (rev 1068)
@@ -93,7 +93,7 @@
             this->neckspeed.joint_pan->SetVelocity(0, this->neckspeed.motorsdata.panSpeed);
             this->neckspeed.joint_pan->SetMaxForce(0, this->stiffness);
         } else {
-            this->neckspeed.joint_tilt->SetVelocity(0, this->neckspeed.motorsdata.panSpeed);
+            this->neckspeed.joint_tilt->SetVelocity(0, this->neckspeed.motorsdata.tiltSpeed);
             this->neckspeed.joint_tilt->SetMaxForce(0, this->stiffness);
         }
 



More information about the Jderobot-admin mailing list