ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

From the snippet you posted it seems you are basically populating a geometry_msgs/TransformStamped message from the matrix conversions (done via transformations.py). ROS messages don't have apply methods like you have asked for but are often accompanied by conversion utilities/packages such as tf_conversions. For your particular case you might find something in posemath.py useful either directly or for some ideas on how to implement your own helpers/conversions.

From the snippet you posted it seems you are basically populating a geometry_msgs/TransformStamped message from the matrix conversions (done via transformations.py). ROS messages don't have apply methods like you have asked for but are often accompanied by conversion utilities/packages such as tf_conversions or eigen_conversions. For your particular case you might find something in posemath.py useful either directly or for some ideas on how to implement your own helpers/conversions.