[Jderobot-admin] jderobot-r1154 - trunk/src/stable/components/gazeboserver/plugins/nao
bmenendez en jderobot.org
bmenendez en jderobot.org
Jue Ene 30 20:59:23 CET 2014
Author: bmenendez
Date: 2014-01-30 20:59:23 +0100 (Thu, 30 Jan 2014)
New Revision: 1154
Modified:
trunk/src/stable/components/gazeboserver/plugins/nao/poserightelbow.cc
Log:
#148 Updated nao plugin.
Modified: trunk/src/stable/components/gazeboserver/plugins/nao/poserightelbow.cc
===================================================================
--- trunk/src/stable/components/gazeboserver/plugins/nao/poserightelbow.cc 2014-01-30 17:55:50 UTC (rev 1153)
+++ trunk/src/stable/components/gazeboserver/plugins/nao/poserightelbow.cc 2014-01-30 19:59:23 UTC (rev 1154)
@@ -41,7 +41,7 @@
if (!_sdf->HasElement(this->modelRoll))
gzerr << "PoseRightElbow plugin missing <" << this->modelRoll << "> element\n";
- std::string elemPan = std::string(_sdf->GetElement(this->modelPan)->GetValueString());
+ std::string elemPan = std::string(_sdf->GetElement(this->modelYaw)->GetValueString());
std::string elemRoll = std::string(_sdf->GetElement(this->modelRoll)->GetValueString());
if (!_sdf->HasElement(elemPan))
@@ -49,7 +49,7 @@
if (!_sdf->HasElement(elemRoll))
gzerr << "PoseRightElbow plugin missing <" << elemRoll << "> element\n";
- this->rightelbow.joint_pan = _model->GetJoint(elemPan);
+ this->rightelbow.joint_yaw = _model->GetJoint(elemPan);
this->rightelbow.joint_roll = _model->GetJoint(elemRoll);
// this->rightelbow.link_pan = this->rightelbow.joint_pan->GetParent();
More information about the Jderobot-admin
mailing list