Giter Club home page Giter Club logo

positioning-system's Introduction

Training Phase

Experiment Setup

Connect central server, reference node(access point) and mobile to same switch.

  1. For Central Server:
$ ./central_start.sh
  1. For Reference Node:
$ ./reference_start.sh

# sudo .reference.py <ip address> <port>
$ sudo ./reference.py 10.8.0.27 5566
  1. For Mobile Node:
$ ./mobile_start.sh

# sudo ./mobile.py <ip address> <port>
$ sudo ./mobile.py 10.8.0.27 5566
  1. Protocol flow chart

					      Send Packet
__________________________________________________________________________________ Mobile node(TX)
\					        /     \                                               /
 \					       /       \											 /
GETREADY	            READY    SENDOVER                                   ALLSTOP
   \				     /           \                                         /
____\___________________/_____________\_______________________________________/__ Central Server
     \			    ////			   \          /     \         \          /
      \		  	   ////				    \        /       \         \        /
   STARTRECV  ACKFORSTART           STOPRECV  ACKFORSTOP FETCH log RM_LOG ACK
        \        ////					  \    /           \         \    /
_________\______////_______________________\__/_____________\_________\__/_______ Reference node(AP)
		  Prepare

Testing Phase

Experiment setup

Connect central server, reference node(access point) and mobile to same switch.
Reference Node need execute in order.

  1. For Central Server:
# ./central_sync_server.py <ip address> <port> <num_ap>
$ ./central_sync_server.py 10.8.0.27 5566 4
  1. For Reference Node:
$ sudo ./reference_start.sh

# sudo ./reference_sync.py <ip address> <port> <ap index>
$ sudo ./reference_sync.py 10.8.0.27 5566 1 
  1. For Mobile Node:
$ ./mobile_tx.sh
  1. protocol flow chart
							  SCP get log file
______________________________________________
\                  ////           /      /
 \                ////           /      /
 SYNC    ACK_FOR_END_COLLECT    / .... /
   \            ////           /      /
____\__________////___________/______/________
  Refer collect CSI

Matlab Processing data

  1. trainingScript.m

    This file provide example of how to use training function.

  2. training.m

    This is a trainig function of matlab.

	function tritraining(           ... 
		access_point_location_file, ... 
		training_location_file,     ... 
		log_file_info_dir,          ... 
		output_dir,                 ... 
		num_training,               ... 
		num_antenna                 ... 
	) 
  1. tripositioningScript.m

    This file is positioning system part.

  2. tripositioning.m

    This is a testing function of matlab

All above files need to put into /path/to/linux-80211n-csitool-supplement/matlab

positioning-system's People

Watchers

 avatar  avatar  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.