Closed shaun-edwards closed 5 years ago
I'm happy to submit a PR to address this, if indeed I am correct and it is an issue.
Would you accept a PR against indigo
?
I'd accept it to indigo. Make sure the new constructor has a default value for nh
if the user does not specify. We'll then cherry-pick it to J/K
Any progress on this or should this issue be closed?
I plan to get back to this in the new year, but no longer on indigo. @geoffreychiou...do you want to have a look at this?
@shaun-edwards On kinetic?
Kinetic...it looks like this is the latest LTS
@davetcoleman you forgot to close this issue
The
rviz_visual_tools
constructor does not allow the node handle to be passed into the class, rather it initializes the node handlenh_("~")
here. When using nodelets, this results in topics being published under an anonymous namespace (which changes every time the nodelet is launched).I believe the appropriate fix is to allow the node handle to be passed in on construction. When using nodelets, the user should pass in
getNodeHandle()
.