Namespaces | Macros | Functions
navfn.cpp File Reference
#include <navfn/navfn.h>
#include <ros/console.h>
Include dependency graph for navfn.cpp:

Go to the source code of this file.

Namespaces

 navfn
 

Macros

#define INVSQRT2   0.707106781
 
#define INVSQRT2   0.707106781
 
#define push_cur(n)
 
#define push_next(n)
 
#define push_over(n)
 

Functions

int navfn::create_nav_plan_astar (COSTTYPE *costmap, int nx, int ny, int *goal, int *start, float *plan, int nplan)
 

Macro Definition Documentation

◆ INVSQRT2 [1/2]

#define INVSQRT2   0.707106781

Definition at line 554 of file navfn.cpp.

◆ INVSQRT2 [2/2]

#define INVSQRT2   0.707106781

Definition at line 554 of file navfn.cpp.

◆ push_cur

#define push_cur (   n)
Value:
{ if (n>=0 && n<ns && !pending[n] && \
costarr[n]<COST_OBS && curPe<PRIORITYBUFSIZE) \
{ curP[curPe++]=n; pending[n]=true; }}

Definition at line 383 of file navfn.cpp.

◆ push_next

#define push_next (   n)
Value:
{ if (n>=0 && n<ns && !pending[n] && \
costarr[n]<COST_OBS && nextPe<PRIORITYBUFSIZE) \
{ nextP[nextPe++]=n; pending[n]=true; }}

Definition at line 386 of file navfn.cpp.

◆ push_over

#define push_over (   n)
Value:
{ if (n>=0 && n<ns && !pending[n] && \
costarr[n]<COST_OBS && overPe<PRIORITYBUFSIZE) \
{ overP[overPe++]=n; pending[n]=true; }}

Definition at line 389 of file navfn.cpp.

COST_OBS
#define COST_OBS
Definition: navfn.h:51
PRIORITYBUFSIZE
#define PRIORITYBUFSIZE
Definition: navfn.h:78


navfn
Author(s): Kurt Konolige, Eitan Marder-Eppstein, contradict@gmail.com
autogenerated on Mon Mar 6 2023 03:50:37