services-ros1-xbee_mav/xbeemav/launch/xbeemav.launch

21 lines
891 B
XML

<launch>
<arg name="port" default="/dev/ttyUSB0"/>
<arg name="baud" default="9600"/>
<!-- master / slave-->
<arg name="drone" default="master"/>
<!-- swarm / solo -->
<arg name="mode" default="swarm"/>
<!-- xbee_mav Drone type and Commununication Mode -->
<node pkg="xbee_ros_node" type="xbee_mav" name="xbee_mav" args="$(arg drone) $(arg mode)" output="screen" />
<!-- xbee_mav Topics and Services Names -->
<param name="Xbee_In_From_Buzz" type="str" value="outMavlink" />
<param name="Xbee_Out_To_Buzz" type="str" value="inMavlink" />
<param name="Xbee_In_From_Controller" type="str" value="xbee_cmd" />
<param name="Xbee_Out_To_Controller" type="str" value="mav_dji_cmd" />
<param name="USB_port" type="str" value="$(arg port)" />
<param name="status_service" type="str" value="network_status" />
<param name="Baud_rate" type="double" value="$(arg baud)" />
</launch>