public class FrameTransform
extends java.lang.Object
Transform
from data in the source frame to data in the
target frame at a specified Time
.Constructor and Description |
---|
FrameTransform(Transform transform,
FrameName source,
FrameName target,
org.ros.message.Time time)
Allocates a new
FrameTransform . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static FrameTransform |
fromTransformStampedMessage(geometry_msgs.TransformStamped transformStamped) |
FrameName |
getSourceFrame() |
FrameName |
getTargetFrame() |
org.ros.message.Time |
getTime() |
Transform |
getTransform() |
int |
hashCode() |
FrameTransform |
invert() |
java.lang.String |
toString() |
geometry_msgs.TransformStamped |
toTransformStampedMessage(geometry_msgs.TransformStamped result) |
public FrameTransform(Transform transform, FrameName source, FrameName target, org.ros.message.Time time)
FrameTransform
.transform
- the Transform
that transforms data in the source
frame to data in the target
framesource
- the source frametarget
- the target frametime
- the time associated with this FrameTransform
, can be
public static FrameTransform fromTransformStampedMessage(geometry_msgs.TransformStamped transformStamped)
public Transform getTransform()
public FrameName getSourceFrame()
public FrameName getTargetFrame()
public FrameTransform invert()
public org.ros.message.Time getTime()
FrameTransform
or null
if there is no associated timepublic geometry_msgs.TransformStamped toTransformStampedMessage(geometry_msgs.TransformStamped result)
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object