Defines | Functions | Variables

testpathplan.c File Reference

#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
#include "path_planner.h"
#include <time.h>
#include <sys/time.h>
#include <math.h>
#include <shist.h>
Include dependency graph for testpathplan.c:

Defines

#define _ISOC99_SOURCE
#define MSEC2SEC(T)   (T/1000.0)
#define USEC2SEC(T)   (MSEC2SEC(T/1000.0))
#define PERCENT(X, N)   (((double) X/ (double) N )* 100.0)
#define TEST_COUNT   50000
#define HIST_COUNT   (4*6+2)
#define HIST_MIN   0.000001
#define HIST_MAX   1.0
#define OBST_COUNT   4

Functions

void randomize_obstacles (bool first)
int main (int argc, char *argv[])

Variables

unsigned histogram [HIST_COUNT]

Define Documentation

#define _ISOC99_SOURCE
#define HIST_COUNT   (4*6+2)
#define HIST_MAX   1.0
#define HIST_MIN   0.000001
#define MSEC2SEC (   T  )     (T/1000.0)
#define OBST_COUNT   4
#define PERCENT (   X,
  N 
)    (((double) X/ (double) N )* 100.0)
#define TEST_COUNT   50000
#define USEC2SEC (   T  )     (MSEC2SEC(T/1000.0))

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Here is the call graph for this function:

void randomize_obstacles ( bool  first  ) 

Here is the call graph for this function:


Variable Documentation

unsigned histogram[HIST_COUNT]