GithubHelp home page GithubHelp logo

signal-triangulation's Introduction

Signal Triangulation

This project aims to practice and create an algorithm to triangulate the location of an emitter by receiving different data and comparing the final results. The goal is to identify where the problem lies, whether it is in the model or in the data.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. It´s best to use virtual environments to run this project.

Prerequisites

This project requires the following dependencies:

  • Python 3.x
  • Matplotlib
  • Numpy

Creating a virtual environment

python -m venv venv

Installing

First, you need to activate the virtual environment.
Windows Users:

venv\Scripts\activate

Linux Users:

source venv/bin/activate

Then, you need to install the dependencies:

pip install -r requirements.txt

Running the code

You can run the code by executing the plotagem.py file:
Windows Users:

python plotagem.py

Linux Users:

python3 plotagem.py

Algorithm

The algorithm used in this project is based on signal triangulation using the power of signal method. The location of the emitter is calculated by measuring power emmited by the emitter, and then calculating the distance between the emitter and the receivers. The distance between the emitter and the receivers is calculated using the following formula: dk = 10^((P0 - Pk) / 10 * lk)

Where:

Data

The data used in this project consists of the coordinates of the receivers and the power of the signals at each receiver. The data can be found in the PDF file.

Results

The final results of the triangulation are plotted on a graph using matplotlib. The plot shows the location of the emitter and the receivers, with circles to represent the calculated location of the emmiter with the given data.

Conclusions

The results of this project demonstrate the effectiveness of the method for triangulating the location of an emitter. The algorithm was able to accurately calculate the location of the emitter using the data provided in two ways, demonstraiting that the problem lies in the data in one case, and in the model in the other.

Author

  • Henrique Ribeiro Favaro

Acknowledgments

  • This project was developed as a degree work.

signal-triangulation's People

Contributors

mrrique15 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.