Functions
moveit_python.geometry Namespace Reference

Functions

def matrix_from_point_msg (point)
 Get a translation matrix from a geometry_msgs/Point. More...
 
def matrix_from_pose_msg (pose)
 Get a transformation matrix from a geometry_msgs/Pose. More...
 
def matrix_from_quaternion_msg (quaternion)
 Get a rotation matrix from a geometry_msgs/Quaternion. More...
 
def point_msg_from_matrix (transformation)
 Get a geometry_msgs/Point from a transformation matrix. More...
 
def pose_msg_from_matrix (transformation)
 Get a geometry_msgs/Pose from a transformation matrix. More...
 
def quaternion_msg_from_matrix (transformation)
 Get a geometry_msgs/Quaternion from a transformation matrix. More...
 
def rotate_pose_msg_about_origin (pose, r, p, y)
 Rotate a geometry_msgs/Pose. More...
 
def rotate_pose_msg_by_euler_angles (pose, r, p, y)
 Rotate a geometry_msgs/Pose. More...
 
def translate_pose_msg (pose, x, y, z)
 Translate a geometry_msgs/Pose. More...
 

Detailed Description

Helpers for performing geometric transformations on geometry_msgs messages

Function Documentation

◆ matrix_from_point_msg()

def moveit_python.geometry.matrix_from_point_msg (   point)

Get a translation matrix from a geometry_msgs/Point.

Parameters
pointgeometry_msgs/Point to turn into matrix

Definition at line 36 of file geometry.py.

◆ matrix_from_pose_msg()

def moveit_python.geometry.matrix_from_pose_msg (   pose)

Get a transformation matrix from a geometry_msgs/Pose.

Parameters
posegeometry_msgs/Pose to turn into matrix

Definition at line 47 of file geometry.py.

◆ matrix_from_quaternion_msg()

def moveit_python.geometry.matrix_from_quaternion_msg (   quaternion)

Get a rotation matrix from a geometry_msgs/Quaternion.

Parameters
quaterniongeometry_msgs/Quaternion to turn into matrix

Definition at line 41 of file geometry.py.

◆ point_msg_from_matrix()

def moveit_python.geometry.point_msg_from_matrix (   transformation)

Get a geometry_msgs/Point from a transformation matrix.

Parameters
transformationThe matrix to convert to a point

Definition at line 54 of file geometry.py.

◆ pose_msg_from_matrix()

def moveit_python.geometry.pose_msg_from_matrix (   transformation)

Get a geometry_msgs/Pose from a transformation matrix.

Parameters
transformationThe matrix to convert to a pose

Definition at line 74 of file geometry.py.

◆ quaternion_msg_from_matrix()

def moveit_python.geometry.quaternion_msg_from_matrix (   transformation)

Get a geometry_msgs/Quaternion from a transformation matrix.

Parameters
transformationThe matrix to convert to a quaternion

Definition at line 63 of file geometry.py.

◆ rotate_pose_msg_about_origin()

def moveit_python.geometry.rotate_pose_msg_about_origin (   pose,
  r,
  p,
  y 
)

Rotate a geometry_msgs/Pose.

Parameters
poseThe pose to rotate
rThe roll
pThe pitch
yThe yaw

Definition at line 105 of file geometry.py.

◆ rotate_pose_msg_by_euler_angles()

def moveit_python.geometry.rotate_pose_msg_by_euler_angles (   pose,
  r,
  p,
  y 
)

Rotate a geometry_msgs/Pose.

Parameters
poseThe pose to rotate
rThe roll
pThe pitch
yThe yaw

Definition at line 95 of file geometry.py.

◆ translate_pose_msg()

def moveit_python.geometry.translate_pose_msg (   pose,
  x,
  y,
  z 
)

Translate a geometry_msgs/Pose.

Parameters
poseThe pose to translate
xThe displacement in X coordinate axis
yThe displacement in Y coordinate axis
zThe displacement in Z coordinate axis

Definition at line 85 of file geometry.py.



moveit_python
Author(s): Michael Ferguson
autogenerated on Sun Jan 8 2023 03:16:41