Main Page   Hardware Class Hierarchy   Hardware API     Mapping Class Hierarchy  Mapping API 

dnode.h

Go to the documentation of this file.
00001 #ifndef _DNODE_H
00002 #define _DNODE_H
00003 /*
00004 Object Oriented Mobile Robot Model (OOMRM) C++  Library Copyright (C) 2002-2005  Derek Jones
00005 
00006 This library is free software; you can redistribute it  and/or
00007 modify it under the terms of the GNU Lesser General Public
00008 License  as published by the Free Software Foundation; either
00009 version 2.1 of the  License, or (at your option) any later version.
00010 
00011 This library is  distributed in the hope that it will be useful,
00012 but WITHOUT ANY WARRANTY;  without even the implied warranty of
00013 MERCHANTABILITY or FITNESS FOR A  PARTICULAR PURPOSE.  See the GNU
00014 Lesser General Public License for more  details.
00015 
00016 You should have received a copy of the GNU Lesser General  Public
00017 License along with this library; if not, write to the Free  Software
00018 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA   02111-1307  USA
00019 
00020 
00021  * $Id: dnode.h,v 1.1.1.1 2006/05/11 05:22:45 derek Exp $
00022 */
00023 
00024 #include <types.h>
00025 #include <occupancy_grid.h>
00027 
00038 class DNode
00039 {
00040 public:
00045         uint8 x;
00050         word y; // Don't know why y must be word to work, but x does not!?
00055         uint8 cost;
00061         word Gvalue; // was float
00067 //      uint8 Hvalue; // was float
00068         word rhs; // not sure what type this will be.
00074 //      short Fvalue;   // was float
00080 //      DNode* parent;
00081 };
00082 
00083 #endif

Generated on Mon Oct 8 19:32:18 2007 for OOMRM Mapping API by doxygen1.3