-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1 parent
68484a9
commit 211ac7f
Showing
14 changed files
with
318 additions
and
29 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
/** | ||
* A* algorithm | ||
* | ||
* @file astar.h | ||
* @brief A* algorithm | ||
* @maintainer Thiago Rezende <[email protected]> | ||
* @file astar.h | ||
* @brief A* algorithm | ||
* @author Thiago Rezende ([email protected]) | ||
*/ | ||
|
||
#ifndef HORUS_ASTAR_H | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
/** | ||
* Base types naming shorthand | ||
* | ||
* @file types.h | ||
* @brief Short type naming as useful memory size macros | ||
* @maintainer Thiago Rezende <[email protected]> | ||
* @file types.h | ||
* @brief Short type naming as useful memory size macros | ||
* @author Thiago Rezende ([email protected]) | ||
*/ | ||
|
||
#ifndef HORUS_CORE_TYPES_H | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
/** | ||
* Horus A* | ||
* | ||
* @file horus.h | ||
* @brief Central include file for the usage of the A* algorithm | ||
* @maintainer Thiago Rezende <[email protected]> | ||
* @file horus.h | ||
* @brief Central include file for the usage of the A* algorithm | ||
* @author Thiago Rezende ([email protected]) | ||
*/ | ||
|
||
#ifndef HORUS_H | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
/** | ||
* Node structure | ||
* | ||
* @file node.h | ||
* @brief Node struture used in a graph for the A* algorithm | ||
* @maintainer Thiago Rezende <[email protected]> | ||
* @file node.h | ||
* @brief Node struture used in a graph for the A* algorithm | ||
* @author Thiago Rezende ([email protected]) | ||
*/ | ||
|
||
#ifndef HORUS_NODE_H | ||
#define HORUS_NODE_H | ||
|
||
#include <math.h> | ||
#include <stddef.h> | ||
#include <stdbool.h> | ||
|
||
#include <horus/core/types.h> | ||
|
||
|
@@ -30,6 +31,12 @@ typedef struct node | |
f64 g; | ||
f64 h; | ||
|
||
/* Obstacle */ | ||
bool obstacle; | ||
|
||
/* Visited */ | ||
bool visited; | ||
|
||
/* parent in found path */ | ||
struct node *parent; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/** | ||
* @file detection.h | ||
* @brief Platorm detection using predefined macros | ||
* @maintainer Thiago Rezende <[email protected]> | ||
* @file detection.h | ||
* @brief Platorm detection using predefined macros | ||
* @author Thiago Rezende ([email protected]) | ||
* | ||
* This header will provide some macros to identify the platform. | ||
* This can be used for compile time restrictions or for platform specific code | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
option('build_visualization', type : 'boolean', value : true) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.