Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Live-View of userdata #21

Open
fmauch opened this issue Nov 8, 2016 · 5 comments
Open

Live-View of userdata #21

fmauch opened this issue Nov 8, 2016 · 5 comments

Comments

@fmauch
Copy link
Contributor

fmauch commented Nov 8, 2016

When reviewing the execution of a larger behaviour it is quite usefull to be able to see the current userdata and it's contents, so it is easier to debug what's currently going on.

While it is already possible to see a state's userdata and it's remapping, the userdata's content is not exposed to the user in the control view.

@pschillinger
Copy link
Member

pschillinger commented Nov 8, 2016 via email

@fmauch
Copy link
Contributor Author

fmauch commented Nov 11, 2016

publishing the userdata to a topic whenever a transition happens would be an option. This can be created only if a subscriber to this topic exists, so the transfer overhead would be optional to the user.

Also, publishing (or showing) a list of userdata keys and then some on-demand display sounds like a good way to go.

@dcconner
Copy link
Member

I support on demand only publishing of userdata to a topic, preferably time stamped for data logging.

The question would be how to organize for greatest utility, without incurring significant overhead.
Just logging user data as a char buffer would be simply, but not very useful with rqt_bag or other tools.
What python tools could we use to allow us to extract and post process?

Adding structure (e.g. via python pickle) would incur overhead, but at least we could read from bag file and extract data, even if we could not view in rqt_bag.

fmessmer added a commit to fmessmer/flexbe_behavior_engine that referenced this issue Sep 29, 2022
@dcconner
Copy link
Member

Should we add a state that will publish userdata on_enter then just return done ?

Possibly dump all by default, or only a specific key if specified?

@dcconner
Copy link
Member

dcconner commented Jun 9, 2023

Note that Noetic now has a get_userdata service.
We will soon push this to ros2-devel branch at the new home https://github.com/flexbe/flexbe_behavior_engine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants