]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
pathplan: repair parameter astar_method
authorpokormat <matous.pokorny@me.com>
Wed, 20 Apr 2011 13:22:50 +0000 (15:22 +0200)
committerpokormat <matous.pokorny@me.com>
Wed, 20 Apr 2011 13:22:50 +0000 (15:22 +0200)
src/pathplan/path_planner.c
src/pathplan/path_planner.h

index 2135affb8f53a3d4b91d950dadb328e391830d68..7e43ebf9a248724967877000a01ca0e9aa079ebd 100644 (file)
@@ -71,7 +71,7 @@ static void add_safety_margin()
  */
 
 
-int path_planner(double xstart_real,double ystart_real, double xgoal_real, double ygoal_real , PathPoint ** simple_path, double * angle, _astar_method astar_method)
+int path_planner(double xstart_real,double ystart_real, double xgoal_real, double ygoal_real , PathPoint ** simple_path, double * angle, enum _astar_method astar_method)
 {
        int nbpoints, count;
         int ret;
index c8a36da08e4c9b6a97a30c9e4fc842dc5b039371..744eb474fc8d51ba0c4ea093306af60fa306c950 100644 (file)
@@ -76,7 +76,7 @@ ASTAR_METHOD_SHAPE
 extern "C" {
 #endif 
                
-       int path_planner(double xstart_real,double ystart_real, double xgoal_real, double ygoal_real , PathPoint ** simple_path, double * angle, _astar_method astar_method);
+       int path_planner(double xstart_real, double ystart_real, double xgoal_real, double ygoal_real, PathPoint** simple_path, double* angle, enum _astar_method astar_method);
                
 #ifdef __cplusplus
 }