Macros | Functions | Variables
navtest.cpp File Reference
#include <navfn/navfn.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string>
#include <fstream>
#include "navwin.h"
#include <pgm.h>
Include dependency graph for navtest.cpp:

Go to the source code of this file.

Macros

#define unknown_gray   0xCC
 

Functions

void dispPot (NavFn *nav)
 
double get_ms ()
 
int main (int argc, char **argv)
 
COSTTYPEreadPGM (const char *fname, int *width, int *height, bool raw=false)
 
void setcostobs (COSTTYPE *cmap, int n, int w)
 
void setcostunk (COSTTYPE *cmap, int n, int w)
 

Variables

static int CS
 
int goal [2]
 
NavWinnwin
 
int start [2]
 

Macro Definition Documentation

◆ unknown_gray

#define unknown_gray   0xCC

Definition at line 238 of file navtest.cpp.

Function Documentation

◆ dispPot()

void dispPot ( NavFn nav)

Definition at line 48 of file navtest.cpp.

◆ get_ms()

double get_ms ( )

Definition at line 36 of file navtest.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 58 of file navtest.cpp.

◆ readPGM()

COSTTYPE* readPGM ( const char *  fname,
int *  width,
int *  height,
bool  raw = false 
)

Definition at line 241 of file navtest.cpp.

◆ setcostobs()

void setcostobs ( COSTTYPE cmap,
int  n,
int  w 
)

Definition at line 215 of file navtest.cpp.

◆ setcostunk()

void setcostunk ( COSTTYPE cmap,
int  n,
int  w 
)

Definition at line 233 of file navtest.cpp.

Variable Documentation

◆ CS

int CS
static

Definition at line 212 of file navtest.cpp.

◆ goal

int goal[2]

Definition at line 33 of file navtest.cpp.

◆ nwin

NavWin* nwin

Definition at line 45 of file navtest.cpp.

◆ start

int start[2]

Definition at line 34 of file navtest.cpp.



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