|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--uwcse.location.core.Measurement
|
+--uwcse.location.core.AngleMeasurement
The AngleMeasurement class captures am obsolute orientation such as a phased antenna array or a relative angle such as from a compass or tilt sensor. The pose is represented as a quaternion.
| Nested Class Summary |
| Nested classes inherited from class uwcse.location.core.Measurement |
Measurement.TimestampComparator |
| Field Summary | |
protected Quat4d |
m_quaternion
|
| Fields inherited from class uwcse.location.core.Measurement |
m_objectName, m_sensorName, m_timestamp |
| Constructor Summary | |
AngleMeasurement()
|
|
AngleMeasurement(String objectName,
String compassName,
Quat4d quaternion)
Creates an angle measurement with the given quaternion. |
|
AngleMeasurement(String objectName,
String compassName,
Vector3d eulerAngles)
Creates an angle measurement with the given Euler angles. |
|
AngleMeasurement(AngleMeasurement am)
Creates a compass measurement as a copy of the given one. |
|
| Method Summary | |
Object |
clone()
Create a deep copy of this AngleMeasurement. |
boolean |
equals(Object o)
Test this object for semantic equality with another AngleMeasurement. |
Quat4d |
getQuaternion()
Get the angle quaternion value |
void |
setQuaternion(Quat4d quaternion)
Set this measurement's value to the given quaternion. |
void |
setQuaternion(Vector3d eulerAngles)
Set this measurement's value to the given Euler angles. |
String |
toString()
Return a string representation of this AngleMeasurement. |
| Methods inherited from class uwcse.location.core.Measurement |
getObjectName, getSensorName, getTimestamp, hashCode, setObjectName, setSensorName, setTimestamp |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected Quat4d m_quaternion
| Constructor Detail |
public AngleMeasurement()
public AngleMeasurement(AngleMeasurement am)
public AngleMeasurement(String objectName,
String compassName,
Vector3d eulerAngles)
public AngleMeasurement(String objectName,
String compassName,
Quat4d quaternion)
| Method Detail |
public boolean equals(Object o)
equals in class Measurementpublic Object clone()
clone in class Measurementpublic String toString()
toString in class Measurementpublic Quat4d getQuaternion()
public void setQuaternion(Quat4d quaternion)
public void setQuaternion(Vector3d eulerAngles)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||