You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Introduction

CBG is a technique used to calculate distance from delay based on constraints such as bestline, speed of internet (SOI) and speed of light (SOL). CBG with multilateration code uses CBG to for delay to distance before passing values onto multilateration algorithm. We modified CBG with multilateration code to use pure multilateration only. To accomplish this we did the following:

Generating CSV files from TULIP

Generated files from TULIP that contained information for multiple landmarks for each target in the following format:

TULIP output file (.csv), each line indicates a separate landmark
landmark1 ip, landmark1 name, distance1, lat1, long1, rtt1
landmark2 ip, landmark2 name, distance2, lat2, long2, rtt2
landmark3 ip, landmark3 name, distance3, lat3, long3, rtt3
...
...

Modifying files according to multilateration code requirements

We then added target line at the top of each file in the following format, removed unnecessary information and converted delay to distance using the formula mentioned below.

delay to distance conversion formula
distance = delay * 50

The following files

ModifyAndConvert.pl script output file (.txt), first line indicates a target, all other lines indicate a separate landmark
target-lat target-long id 0

    lat long id 0, here 0 is the rtt since rtt from target to itself is always 0

Since we are not using CBG with multilateration, therefore we needed to convert the delay to distance by ourselves. To do this we converted distance not by using CBG but by using TULIP's delay to distance formula (distance=rtt*50).

  • No labels