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

How linemod detect gets a ROS node? #21

Open
YantianZha opened this issue Jan 12, 2016 · 0 comments
Open

How linemod detect gets a ROS node? #21

YantianZha opened this issue Jan 12, 2016 · 0 comments

Comments

@YantianZha
Copy link

Hi all,

There's a nodehandle in linemod_detect.cpp. https://github.com/wg-perception/linemod/blob/master/src/linemod_detect.cpp

This nodehandle (node_) would be used to construct linemod_pointcloud module. But I'm wondering where is the node that matches this nodehandle?

And a strange thing is, when I used the same "node_" to construct my own publisher, and when I rostopic echo the topic of my own publisher based on "node_", I got error "You must call ros::init() before creating the first NodeHandle"? If the nodehandle "node_" can work with linemod_pointcloud publisher, why my own publisher cannot work?

Thanks very much in advance!

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

1 participant