Creating a launch file for running 3 separate nodes
Hello, I would like to activate 3 nodes of which I created 1. The other 2 are prebuilt nodes and each has a launch file. My nodes are as follows:
I want to create a launch file for this node coming after rosrun:
$ rosrun hand_raise_detector armraiselistener.py
The file should trigger below nodes coming after roslaunch:
$ roslaunch realsense_camera sr300_nodelet_rgbd.launch
$ roslaunch openpose_ros openpose_ros.launch
EDIT for solution:
<launch>
<node pkg="hand_raise_detector" type="armraiselistener.py" name="armraiselistener" output="screen"/>
<include file="/home/robolab3/catkin_ws/src/openpose_ros-master/openpose_ros/launch/openpose_ros.launch" />
<include file="/home/robolab3/catkin_ws/src/realsense/realsense_camera/launch/sr300_nodelet_rgbd.launch" />
</launch>
http://wiki.ros.org/roslaunch/XML/inc...