Skip to content

Make sequence node inheritable #996

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

redvinaa
Copy link
Contributor

Another PR following up on #991. Turns out more changes were needed to allow other nodes inherit from SequenceNode.

The derived class has to call the tick method of the base class. If instead I call executeTick, the overwritten tick function is called, resulting in infinite recursion.

Also, the node configuration has to be passed to the ControlNode, otherwise the blackboard can't see the variables set for the node. I don't know why this is, if this is not the way, some would be appreciated on how to do this properly.

Needed for ros-navigation/navigation2#5247

redvinaa added 3 commits July 31, 2025 15:18
Signed-off-by: redvinaa <[email protected]>
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

Successfully merging this pull request may close these issues.

1 participant