public class EstimateOrientation
extends java.lang.Object
Constructor and Description |
---|
EstimateOrientation(SensorDataReader server)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
finalize()
Destructor.
|
double[] |
getQuat()
Extract the current orientation.
|
void |
start()
Start up the server, the phone view, and start filtering.
|
boolean |
status()
Status of the orientation estimation.
|
void |
stop()
Stop the orientation estimation.
|
public EstimateOrientation(SensorDataReader server)
server
- A SensorDataReader that will provide the measurements.public void start() throws java.io.IOException
java.io.IOException
- Throws an IOException on I/O errors.public boolean status()
public double[] getQuat()
public void stop() throws java.io.IOException
java.io.IOException
- An IOException are thrown on I/O errors.protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable