N-sim
Emulation and simulation of
Wireless Sensor Networks



   Home


   Project Page


   Download


   CVS



   Installation


   Configuration


   Plug-ins




 Hosted by
SourceForge.net Logo

/home/brennan/n-sim/OrbisQuartus/shared/xml_cfg_test.cpp File Reference

#include "test.h"
#include "configuration.h"

Go to the source code of this file.

Defines

#define ACCURACY   0.0000000001
#define PERCENT_ERR   0.001
#define MAX_SCALE   13

Functions

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


Define Documentation

#define ACCURACY   0.0000000001
 

Definition at line 40 of file xml_cfg_test.cpp.

Referenced by main().

#define MAX_SCALE   13
 

Definition at line 42 of file xml_cfg_test.cpp.

#define PERCENT_ERR   0.001
 

Definition at line 41 of file xml_cfg_test.cpp.

Referenced by main().


Function Documentation

int main int  argc,
char *  argv[]
 

Todo:
check sensor configuration
Todo:
check source configuration
Todo:
check interferor configuration

Definition at line 45 of file xml_cfg_test.cpp.

References ACCURACY, Coordinates::coord_distance(), Coordinates::coords2meters(), error, Configuration::get_origin(), Coordinates::lat, Coordinates::lon, MAX_SCALE, Coordinates::meters2coords(), Configuration::open(), PERCENT_ERR, and Configuration::save().


© 2007, Los Alamos National Security, LLC.