We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently the SkillManagerNode that brings up the skill manager needs spinning during the __init__ function to register the skills with the world model: https://github.com/RVMI/skiros2/blob/ed5bc907f8509f8223bf5c75ff2b7bcf9ff056e7/skiros2_skill/skiros2_skill/ros/skill_manager.py#L187-L188
SkillManagerNode
__init__
However after we're done starting up the SkillManagerNode, we enter a rclpy.spin. This means that the WorldModelInterface that is used inside the SkillManager must not spin anymore. https://github.com/RVMI/skiros2/blob/ed5bc907f8509f8223bf5c75ff2b7bcf9ff056e7/skiros2_skill/skiros2_skill/ros/skill_manager.py#L498-L501
rclpy.spin
WorldModelInterface
SkillManager
Currently this is resolved by setting an allow_spinning variable in the WorldModelInterface that is used here: https://github.com/RVMI/skiros2/blob/ed5bc907f8509f8223bf5c75ff2b7bcf9ff056e7/skiros2_world_model/skiros2_world_model/ros/ontology_interface.py#L299-L310
allow_spinning
That works, but it's not a very sound solution.
The text was updated successfully, but these errors were encountered:
marcusklang
No branches or pull requests
Currently the
SkillManagerNode
that brings up the skill manager needs spinning during the__init__
function to register the skills with the world model:https://github.com/RVMI/skiros2/blob/ed5bc907f8509f8223bf5c75ff2b7bcf9ff056e7/skiros2_skill/skiros2_skill/ros/skill_manager.py#L187-L188
However after we're done starting up the
SkillManagerNode
, we enter arclpy.spin
. This means that theWorldModelInterface
that is used inside theSkillManager
must not spin anymore.https://github.com/RVMI/skiros2/blob/ed5bc907f8509f8223bf5c75ff2b7bcf9ff056e7/skiros2_skill/skiros2_skill/ros/skill_manager.py#L498-L501
Currently this is resolved by setting an
allow_spinning
variable in theWorldModelInterface
that is used here:https://github.com/RVMI/skiros2/blob/ed5bc907f8509f8223bf5c75ff2b7bcf9ff056e7/skiros2_world_model/skiros2_world_model/ros/ontology_interface.py#L299-L310
That works, but it's not a very sound solution.
The text was updated successfully, but these errors were encountered: