Skip to content

bob-0x10/threepoint-location-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

threepoint-location-calculator

Threepoint Location Calculator with dBm values

Triangulation

  • Mathematically, triangulation is a method of finding the coordinates and distance of a point using the properties of a triangle
  • Given a point and two reference points, measure the angle between the base and the other two sides in a triangle consisting of that point and two reference points.
  • This is a method to find the coordinates and distances for the point by measuring the length of the side and performing calculations using the sine laws.

주석 2020-08-21 233310

calculate-library

The library for calculating distances and positions

Functions

CalculateDistance

Calculating distance based on TWPower and RSSI

double CalculateDistance(packet_info pinfo, int n);

Arguments

pinfo
  • basic packet information structure
n
  • correcting integer

CalculateLocation

Calculating position

pos CalculateLocation(double disA, double disB, double disC, double disBetween);

Arguments

disA, disB, disC
  • distances from three vertexes
disBetween
  • length of one edge

DistanceBetween

Calculating dinstance between two pos

double DistanceBetween(pos p1, pos p2);

Arguments

p1, pw
  • two pos structures

CalculateRadius

Calculating radius of possiblilty

double CalculateRadius(double disA, double disB, double disC, double disBetween,
                       pos target_loc);

Arguments

disA, disB, disC
  • distances from three vertexes
disBetween
  • length of one edge
target_loc
  • position of target

About

Threepoint Location Calculator with dBm values

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors