public class DTrackInertial
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
DTrackInertial(int id)
Constructor for not tracked hybrid body.
|
protected |
DTrackInertial(int id,
int state,
double error,
double[] loc,
double[][] rot)
Constructor for tracked hybrid body.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getError()
Returns drift error estimate.
|
int |
getId()
Returns ID number.
|
double[] |
getLoc()
Returns location.
|
double[][] |
getRot()
Returns orientation.
|
int |
getState()
Returns state of hybrid body.
|
boolean |
isTracked()
Returns if body is currently tracked.
|
protected DTrackInertial(int id)
id - ID number (starting with 0)protected DTrackInertial(int id,
int state,
double error,
double[] loc,
double[][] rot)
id - ID number (starting with 0)state - State of hybrid body (0, 1, 2 or 3)error - Drift error estimate (only during inertial tracking, in [deg])loc - Location (in [mm])rot - Rotation matrix (3x3-dimensional)public int getId()
public boolean isTracked()
public int getState()
public double getError()
public double[] getLoc()
public double[][] getRot()