Start another Node from pythonscript
Hello Guys,
first of all here is my setup : Ubuntu 16.04 with ROS kinetic and Gazebo 7.0.
I have a Scenario where a simulated turtlebot drives to several objects. Actual i need some pointcloud data from him but only from the approach.
Now i use :
rosrun pcl_ros pointcloud_to_pcd input:=/depth/points
I would prefere something how i can integrate this in my code and only save pcd files in the approach of the objects. So i need something that i can start the pointcloud to pcd node and something how i can stop the node after the approach.
An code example would help me a lot.