Public Member Functions | |
def | __init__ |
def | to_2d |
def | to_euler |
Static Public Member Functions | |
def | from_2d |
Private Member Functions | |
def | _transform |
Definition at line 130 of file geometry.py.
def rosh_geometry.geometry.PoseStamped.__init__ | ( | self, | |
position = None , |
|||
orientation = None , |
|||
frame_id = _DEFAULT_FRAME_ID , |
|||
stamp = None |
|||
) |
@param stamp: Header timestamp. defaults to rospy.Time(0)
Definition at line 132 of file geometry.py.
def rosh_geometry.geometry.PoseStamped._transform | ( | self, | |
listener, | |||
target | |||
) | [private] |
API for auto-transforming via ROSH tf bindings.
Definition at line 158 of file geometry.py.
def rosh_geometry.geometry.PoseStamped.from_2d | ( | x = 0. , |
|
y = 0. , |
|||
th = 0. , |
|||
frame_id = _DEFAULT_FRAME_ID |
|||
) | [static] |
Create PoseStamped instance from x, y, theta
Definition at line 165 of file geometry.py.
def rosh_geometry.geometry.PoseStamped.to_2d | ( | self | ) |
Convert pose to x, y, theta. This removes any z elements as well as roll and pitch. @return: (x, y, rz)
Definition at line 174 of file geometry.py.
Convert pose to x, y, z, rx, ry, rz. @return: (x, y, z, rx, ry, rz)
Definition at line 183 of file geometry.py.