es.ucm.look.locationProvider
Class InertialNavigationSystem

java.lang.Object
  extended by es.ucm.look.locationProvider.InertialNavigationSystem

public class InertialNavigationSystem
extends java.lang.Object

Calculates the relative distance


Field Summary
static float HUMAN_SPEED_WALK
           
static int MAX_SIZE
           
 
Constructor Summary
InertialNavigationSystem()
           
 
Method Summary
 void addMotion()
          Add new motion sample to the queue
 float[] displacement()
           
 void reset()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HUMAN_SPEED_WALK

public static final float HUMAN_SPEED_WALK
See Also:
Constant Field Values

MAX_SIZE

public static final int MAX_SIZE
See Also:
Constant Field Values
Constructor Detail

InertialNavigationSystem

public InertialNavigationSystem()
Method Detail

addMotion

public void addMotion()
Add new motion sample to the queue

Parameters:
a - acceleration
t - time

displacement

public float[] displacement()

reset

public void reset()