Revision: 7939
http://playerstage.svn.sourceforge.net/playerstage/?rev=7939&view=rev
Author: robotos
Date: 2009-07-02 04:30:35 +0000 (Thu, 02 Jul 2009)
Log Message:
-----------
set the fiducial params for the model
Modified Paths:
--------------
code/gazebo/trunk/server/Model.cc
Modified: code/gazebo/trunk/server/Model.cc
===================================================================
--- code/gazebo/trunk/server/Model.cc 2009-07-02 04:28:42 UTC (rev 7938)
+++ code/gazebo/trunk/server/Model.cc 2009-07-02 04:30:35 UTC (rev 7939)
@@ -193,7 +193,10 @@
this->enableGravityP->Load(node);
this->enableFrictionP->Load(node);
this->collideP->Load(node);
+ this->laserFiducialP->Load(node);
+ this->laserRetroP->Load(node);
+
this->xmlNode = node;
this->type=node->GetName();
@@ -257,7 +260,7 @@
this->SetCollideMode( **this->collideP );
this->SetLaserFiducialId( **this->laserFiducialP);
- //this->SetLaserRetro( **this->laserRetroP);
+ this->SetLaserRetro( **this->laserRetroP);
// Create the graphics iface handler
this->graphicsHandler = new GraphicsIfaceHandler();
@@ -1054,7 +1057,6 @@
void Model::SetLaserFiducialId( const int &id )
{
Body *body;
-
std::map<std::string, Body* >::iterator iter;
for (iter=this->bodies.begin(); iter!=this->bodies.end(); iter++)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit