Author: ablasdel
Date: 2012-05-06 17:33:44 -0700 (Sun, 06 May 2012)
New Revision: 54630
Modified:
stacks/graspit_simulator/trunk/dbase_grasp_planner/src/grasp_clustering_task.cpp
stacks/graspit_simulator/trunk/dbase_grasp_planner/src/guided_grasp_planning_task.cpp
Log:
Changed some text output to make it clear which plugin is running
Modified: stacks/graspit_simulator/trunk/dbase_grasp_planner/src/grasp_clustering_task.cpp
===================================================================
--- stacks/graspit_simulator/trunk/dbase_grasp_planner/src/grasp_clustering_task.cpp 2012-05-06 06:24:13 UTC (rev 54629)
+++ stacks/graspit_simulator/trunk/dbase_grasp_planner/src/grasp_clustering_task.cpp 2012-05-07 00:33:44 UTC (rev 54630)
@@ -64,12 +64,12 @@
//check if the currently selected hand is the same as the one we need
//if not, load the hand
if (world->getCurrentHand() && world->getCurrentHand()->getDBName() == QString(mPlanningTask.handName.c_str())) {
- DBGA("Grasp Planning Task: using currently loaded hand");
+ DBGA("Grasp Clustering Task: using currently loaded hand");
hand = world->getCurrentHand();
} else {
QString handPath = mDBMgr->getHandGraspitPath(QString(mPlanningTask.handName.c_str()));
handPath = QString(getenv("GRASPIT")) + handPath;
- DBGA("Grasp Planning Task: loading hand from " << handPath.latin1());
+ DBGA("Grasp Clustering Task: loading hand from " << handPath.latin1());
hand = static_cast<Hand*>(world->importRobot(handPath));
if ( !hand ) {
DBGA("Failed to load hand");
Modified: stacks/graspit_simulator/trunk/dbase_grasp_planner/src/guided_grasp_planning_task.cpp
===================================================================
--- stacks/graspit_simulator/trunk/dbase_grasp_planner/src/guided_grasp_planning_task.cpp 2012-05-06 06:24:13 UTC (rev 54629)
+++ stacks/graspit_simulator/trunk/dbase_grasp_planner/src/guided_grasp_planning_task.cpp 2012-05-07 00:33:44 UTC (rev 54630)
@@ -79,13 +79,13 @@
//check if the currently selected hand is the same as the one we need
//if not, load the hand we need
if (world->getCurrentHand() && world->getCurrentHand()->getDBName() == QString(mPlanningTask.handName.c_str())) {
- DBGA("Grasp Planning Task: using currently loaded hand");
+ DBGA("Guided Grasp Planning Task: using currently loaded hand");
mHand = world->getCurrentHand();
} else {
if(world->getCurrentHand()) world->removeRobot(world->getCurrentHand());
QString handPath = mDBMgr->getHandGraspitPath(QString(mPlanningTask.handName.c_str()));
handPath = QString(getenv("GRASPIT")) + handPath;
- DBGA("Grasp Planning Task: loading hand from " << handPath.latin1());
+ DBGA("Guided Grasp Planning Task: loading hand from " << handPath.latin1());
mHand = static_cast<Hand*>(world->importRobot(handPath));
if ( !mHand ) {
DBGA("Failed to load hand");
_______________________________________________
Wg-ros-pkg-commits mailing list
Wg-ros-pkg-commits@code.ros.org
https://code.ros.org/mailman/listinfo/wg-ros-pkg-commits