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

[jsk_pcl_ros_utils] ensure super class functionality works #2043

Merged
merged 2 commits into from
Mar 29, 2017

Conversation

furushchev
Copy link
Member

Some nodelet forgot to enable super class functionality:

  • Forgot to call vital_checker_->poke()

Without calling this method on callback, runtime_monitor displays error state on the nodelet and it is very confusing on debugging.

  • Forgot to call onInitPostProcess()

Without calling this method on onInit() method, nodelet does not subscribe on start even if param always_subscribe is set to true.

@k-okada
Copy link
Member

k-okada commented Mar 28, 2017 via email

@furushchev
Copy link
Member Author

furushchev commented Mar 28, 2017

@k-okada You mean onInitPostProcess? Unfortunately, I think no, we should wait calling subscribe until all initialization is done and we have no way to hook on onInit is done.

@wkentaro
Copy link
Member

Unfortunately, I think no, we should wait calling subscribe until all initialization is done and we have no way to hook on onInit is done.

Yeah, we need to wait the advertising in onInit method.

@k-okada k-okada merged commit 46ae776 into jsk-ros-pkg:master Mar 29, 2017
@k-okada
Copy link
Member

k-okada commented Mar 29, 2017

ok, merged, but this could be very dangerous, like init-ending of euslisp robot model. i'm afraid a lot of people will forget to add this when they create new nodelet.

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.

None yet

3 participants