Revision: 9125
          http://sourceforge.net/p/playerstage/svn/9125
Author:   jpgr87
Date:     2013-10-06 17:09:04 +0000 (Sun, 06 Oct 2013)
Log Message:
-----------
Applied patch #667: Minor patch for ND navigation driver

Modified Paths:
--------------
    code/player/trunk/server/drivers/position/nd/nd_plugin.cc

Modified: code/player/trunk/server/drivers/position/nd/nd_plugin.cc
===================================================================
--- code/player/trunk/server/drivers/position/nd/nd_plugin.cc   2013-10-06 
17:06:38 UTC (rev 9124)
+++ code/player/trunk/server/drivers/position/nd/nd_plugin.cc   2013-10-06 
17:09:04 UTC (rev 9125)
@@ -859,14 +859,13 @@
   {
     this->NDparametros.front = static_cast<float> 
(this->robot_geom.size.sl/2.0 + this->robot_geom.pose.px + this->safety_dist); 
// Distance to the front
     this->NDparametros.back = static_cast<float> (this->robot_geom.size.sl/2.0 
- this->robot_geom.pose.px + this->safety_dist);  // Distance to the back
-    InicializarND(&this->NDparametros);
   }
   else
   {
     this->NDparametros.front = static_cast<float> 
(this->robot_geom.size.sl/2.0 - this->robot_geom.pose.px + this->safety_dist); 
// Distance to the front
     this->NDparametros.back = static_cast<float> (this->robot_geom.size.sl/2.0 
+ this->robot_geom.pose.px + this->safety_dist);  // Distance to the back
-    InicializarND(&this->NDparametros);
   }
+  InicializarND(&this->NDparametros);
   this->current_dir = dir;
 }
 
@@ -1266,7 +1265,7 @@
   int player_driver_init(DriverTable* table)
   {
     puts("ND driver initializing");
-    ND_Register(table);
+    nd_Register(table);
     puts("ND initialization done");
     return(0);
   }

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Playerstage-commit mailing list
Playerstage-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to