Skip to content

Get full state dynamically #663

Answered by whoenig
Mardank asked this question in Q&A
Jul 8, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

If you just want the full pose, you can also enable logging of the pose. Then, there will be a ROS topic of the form /cf<x>/pose. If you want custom logging variables, you use the method 1, that you described.

In order to use the result in your Python code, you have to subscribe to the ROS topic on the Python side - no modification of the C++ code needed. A subscriber will get a callback whenever new data is available (see the ROS documentation/tutorial).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Mardank
Comment options

Answer selected by Mardank
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants