Revision: 8766
http://playerstage.svn.sourceforge.net/playerstage/?rev=8766&view=rev
Author: natepak
Date: 2010-06-15 18:50:40 +0000 (Tue, 15 Jun 2010)
Log Message:
-----------
Updates
Modified Paths:
--------------
code/gazebo/branches/simpar/plugins/pioneer_circle.cc
Modified: code/gazebo/branches/simpar/plugins/pioneer_circle.cc
===================================================================
--- code/gazebo/branches/simpar/plugins/pioneer_circle.cc 2010-06-15
03:40:50 UTC (rev 8765)
+++ code/gazebo/branches/simpar/plugins/pioneer_circle.cc 2010-06-15
18:50:40 UTC (rev 8766)
@@ -25,10 +25,10 @@
this->stepTimesIter = this->stepTimes.begin();
this->stepItersIter = this->stepIters.begin();
- this->path =
std::string("/home/nkoenig/work/simpar/data/pioneer_circle/");
+ this->path = std::string("/home/nate/work/simpar/data/pioneer_circle/");
system( (std::string("mkdir -p ") + this->path).c_str() );
- this->circleCount = 1;
+ this->circleCount = 0;
if (LOG)
{
@@ -108,7 +108,7 @@
this->startPose.pos == Vector3(0,0,0))
this->startPose = pose;
- if (this->circleCount <= 1)
+ if (this->circleCount < 3)
{
if (this->leftWheel->GetRelativeAngularVel().z < 2.2)
this->leftWheel->SetTorque(Vector3(0.0, 0.0, 0.01));
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit