|
farm-ng-core
|
Functions | |
| pose_pb2.Pose|None | find_pose (pose_pb2.PoseTree pose_tree, str frame_a, str frame_b) |
| pose_pb2.Pose | None core.pose_tree.find_pose | ( | pose_pb2.PoseTree | pose_tree, |
| str | frame_a, | ||
| str | frame_b | ||
| ) |
Find all poses in a PoseTree with a given frame_A and frame_B.
If frames are inverted, returns the inverse transform.
Args:
pose_tree (PoseTree): The PoseTree proto object to search within.
frame_a (str): The desired frame_a value.
frame_b (str): The desired frame_b value.
Returns:
Pose: Pose objects that match the criteria.