... | ... | @@ -10,6 +10,27 @@ https://answers.ros.org/question/321501/subscriber-python-camerainfo-and-image/ |
|
|
|
|
|
# Message
|
|
|
|
|
|
Read up more about predefined messages:
|
|
|
|
|
|
https://github.com/ros2/common_interfaces/tree/master/geometry_msgs/msg
|
|
|
|
|
|
For using the topic "image_vectors" of image_vector_node:
|
|
|
|
|
|
```
|
|
|
from geometry_msgs.msg import Transform
|
|
|
|
|
|
# Define Subscriber with Transform msg type
|
|
|
(...)
|
|
|
|
|
|
msg.translational.x
|
|
|
|
|
|
# or
|
|
|
|
|
|
msg.rotational.x
|
|
|
|
|
|
# See link above for more details
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
https://computergraphics.stackexchange.com/questions/8195/how-to-convert-euler-angles-to-quaternions-and-get-the-same-euler-angles-back-fr |
|
|
\ No newline at end of file |