Using roscpp_init and raspy.init in python (Using a C++ class in Python)
I am trying to use roscpp_init and rospy.init in the same python program but get errors when I do. if I try to use the rospy interface I get duplicate node created and ROS shuts down. not sure what I can do. Is it possible to use both together?
" I wrapped a C++ class that uses ROS systems in python. I followed the tutorial here ([ http://wiki.ros.org/ROS/Tutorials/Usi... ])
in the tutorial is state that I must call roscpp_init('name', argv) because ROSCPP is not initialized. (Class with NodeHandle section of tutorial)
I call roscpp_init('name', argue) and next I call rospy.init('name', agrv) this causes a duplicate named nodes and my first node shuts down. my launch file has the node name defined in it. "