class documentation
class BufferClient(tf2_ros.BufferInterface):
Constructor: BufferClient(ns, check_frequency, timeout_padding)
Action client-based implementation of BufferInterface.
Method | __init__ |
No summary |
Method | can |
Check if a transform from the source frame to the target frame is possible. |
Method | can |
Check if a transform from the source frame to the target frame is possible (advanced API). |
Method | lookup |
Get the transform from the source frame to the target frame. |
Method | lookup |
Get the transform from the source frame to the target frame using the advanced API. |
Method | wait |
Block until the action server is ready to respond to requests. |
Instance Variable | client |
Undocumented |
Instance Variable | timeout |
Undocumented |
Method | __process |
Undocumented |
Method | __process |
Undocumented |
Check if a transform from the source frame to the target frame is possible.
Parameters | |
target | Name of the frame to transform into. |
source | Name of the input frame. |
time | The time at which to get the transform. (0 will get the latest) |
timeout | (Optional) Time to wait for the target frame to become available. |
return | (Optional) If true, return a tuple representing debug information. |
Returns | |
bool | True if the transform is possible, false otherwise. |
def can_transform_full(self, target_frame, target_time, source_frame, source_time, fixed_frame, timeout=rospy.Duration( 0.0)):
¶
Check if a transform from the source frame to the target frame is possible (advanced API).
Must be implemented by a subclass of BufferInterface.
Parameters | |
target | Name of the frame to transform into. |
target | The time to transform to. (0 will get the latest) |
source | Name of the input frame. |
source | The time at which source_frame will be evaluated. (0 will get the latest) |
fixed | Name of the frame to consider constant in time. |
timeout | (Optional) Time to wait for the target frame to become available. |
return | (Optional) If true, return a tuple representing debug information. |
Returns | |
bool | True if the transform is possible, false otherwise. |
Get the transform from the source frame to the target frame.
Parameters | |
target | Name of the frame to transform into. |
source | Name of the input frame. |
time | The time at which to get the transform. (0 will get the latest) |
timeout | (Optional) Time to wait for the target frame to become available. |
Returns | |
geometry_msgs.msg.TransformStamped | The transform between the frames. |
def lookup_transform_full(self, target_frame, target_time, source_frame, source_time, fixed_frame, timeout=rospy.Duration( 0.0)):
¶
Get the transform from the source frame to the target frame using the advanced API.
Parameters | |
target | Name of the frame to transform into. |
target | The time to transform to. (0 will get the latest) |
source | Name of the input frame. |
source | The time at which source_frame will be evaluated. (0 will get the latest) |
fixed | Name of the frame to consider constant in time. |
timeout | (Optional) Time to wait for the target frame to become available. |
Returns | |
geometry_msgs.msg.TransformStamped | The transform between the frames. |