ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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.
2 | No.2 Revision |
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.