creating a other topic in rviz display plugin
Hey, i created a new Display Plugin for Rviz but i wanted to to create an other topic to return some information. Because i have no argv and argc arguments i cant do ros::init ... and if i just create a new ros::NodeHandle this works sometimes fine ... but i guess if nothing is displayed it stops on ros::spineOnce() is this normal or is the problem somewhere else in my code?
so the main question is what is the right way to create a new Topic in a rviz display plugin?