37 return translation_matrix((point.x, point.y, point.z))
42 q = [quaternion.x, quaternion.y, quaternion.z, quaternion.w]
43 return quaternion_matrix(q)
50 return concatenate_matrices(t, r)
56 msg.x = transformation[0][3]
57 msg.y = transformation[1][3]
58 msg.z = transformation[2][3]
64 q = quaternion_from_matrix(transformation)
87 transform = translation_matrix((x,y,z))
97 transform = quaternion_matrix(quaternion_from_euler(r, p, y))
107 transform = quaternion_matrix(quaternion_from_euler(r, p, y))
def matrix_from_quaternion_msg(quaternion)
Get a rotation matrix from a geometry_msgs/Quaternion.
def matrix_from_pose_msg(pose)
Get a transformation matrix from a geometry_msgs/Pose.
def rotate_pose_msg_by_euler_angles(pose, r, p, y)
Rotate a geometry_msgs/Pose.
def translate_pose_msg(pose, x, y, z)
Translate a geometry_msgs/Pose.
def rotate_pose_msg_about_origin(pose, r, p, y)
Rotate a geometry_msgs/Pose.
def matrix_from_point_msg(point)
Get a translation matrix from a geometry_msgs/Point.
def point_msg_from_matrix(transformation)
Get a geometry_msgs/Point from a transformation matrix.
def quaternion_msg_from_matrix(transformation)
Get a geometry_msgs/Quaternion from a transformation matrix.
def pose_msg_from_matrix(transformation)
Get a geometry_msgs/Pose from a transformation matrix.