From 3de803b964643fbc8480fd3c0133df77e324ef27 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Tue, 27 Apr 2010 00:17:36 +0200 Subject: digital/io/src: use A* algorithm to nagivate between elements --- digital/io/src/avrconfig.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'digital/io/src/avrconfig.h') diff --git a/digital/io/src/avrconfig.h b/digital/io/src/avrconfig.h index b0afb529..9b79b4e1 100644 --- a/digital/io/src/avrconfig.h +++ b/digital/io/src/avrconfig.h @@ -99,6 +99,12 @@ /** Number of points per obstacle. */ #define AC_PATH_OBSTACLES_POINTS_NB 8 +/* astar - A* path finding module. */ +/** Neighbor callback. */ +#define AC_ASTAR_NEIGHBOR_CALLBACK path_astar_neighbor_callback +/** Heuristic callback. */ +#define AC_ASTAR_HEURISTIC_CALLBACK path_astar_heuristic_callback + /* io - io/ai board. */ /** TWI address of the io board. */ #define AC_IO_TWI_ADDRESS 2 -- cgit v1.2.3