Practical example
Closed this issue · 2 comments
Hi,
I'm checking yasmin as simple state manager for ROS2 purposes.
Besides simple_demo.py
there's no clear example on how to use it.
I'm wondering if it would be possible to implement following in State
class.
publish/subscribe
to ROS topiccall
ROS service
I've figured out demo
script, however, I'm not sure how to properly use current State
implementation.
I can initialize ROS node with certain publishers/subscribers. However, if i pass certain values I
want to monitor during state execution (robot pose), they remain unchanged during state execution.
Execute function is used, however, state runs alongside ROS node and it's not possible to
continuously update robot pose value in State class.
You can see modified demo here.
My question is following:
- Is there any example of a state that monitors certain ROS topic, and is it possible to use information
from ROS topic in State without initializing subscriber in State class directly.
Thank you for your answer.
Inactive repo, don't use it.