2017-02-23 11:57:05 -04:00
|
|
|
<launch>
|
2017-03-01 16:48:16 -04:00
|
|
|
<!-- RUN mavros
|
2017-02-23 11:57:05 -04:00
|
|
|
<arg name="fcu_url" default="tcp://127.0.0.1:5760" />
|
|
|
|
<arg name="gcs_url" default="" />
|
|
|
|
<arg name="tgt_system" default="1" />
|
|
|
|
<arg name="tgt_component" default="1" />
|
|
|
|
<arg name="log_output" default="screen" />
|
|
|
|
|
|
|
|
<include file="$(find mavros)/launch/node.launch">
|
|
|
|
<arg name="pluginlists_yaml" value="$(find mavros)/launch/apm_pluginlists.yaml" />
|
|
|
|
<arg name="config_yaml" value="$(find mavros)/launch/apm_config.yaml" />
|
|
|
|
<arg name="fcu_url" value="$(arg fcu_url)" />
|
|
|
|
<arg name="gcs_url" value="$(arg gcs_url)" />
|
|
|
|
<arg name="tgt_system" value="$(arg tgt_system)" />
|
|
|
|
<arg name="tgt_component" value="$(arg tgt_component)" />
|
|
|
|
<arg name="log_output" value="$(arg log_output)" />
|
|
|
|
</include>
|
2017-03-01 16:48:16 -04:00
|
|
|
-->
|
2017-04-10 21:23:04 -03:00
|
|
|
<!-- run xbee -->
|
|
|
|
|
2017-02-23 11:57:05 -04:00
|
|
|
<node pkg="xbee_ros_node" type="xbee_mav" name="xbee_mav" args="slave swarm" output="screen" />
|
|
|
|
<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" />
|
2017-04-10 21:23:04 -03:00
|
|
|
<param name="Xbee_Out_To_Controller" type="str" value="mav_dji_cmd" />
|
|
|
|
|
2017-02-23 11:57:05 -04:00
|
|
|
<!-- run rosbuzz -->
|
|
|
|
<node name="rosbuzz_node" pkg="rosbuzz" type="rosbuzz_node" respawn="false" output="screen" >
|
|
|
|
<rosparam file="/home/ivan/catkin_ws/src/rosbuzz/launch/launch_config/solo.yaml"/>
|
2017-05-09 20:48:38 -03:00
|
|
|
<param name="bzzfile_name" value="/home/ivan/catkin_ws/src/rosbuzz/script/testsolo.bzz" />
|
2017-02-23 11:57:05 -04:00
|
|
|
<param name="rcclient" value="true" />
|
2017-05-09 16:48:38 -03:00
|
|
|
<param name="rcservice_name" value="buzzcmd" />
|
|
|
|
<param name="in_payload" value="inMavlink"/>
|
|
|
|
<param name="out_payload" value="outMavlink"/>
|
|
|
|
<param name="xbee_status_srv" value="xbee_status"/>
|
2017-04-27 13:36:12 -03:00
|
|
|
<param name="xbee_plugged" value="false"/>
|
|
|
|
<param name="name" value="solos1"/>
|
2017-05-09 16:48:38 -03:00
|
|
|
<param name="stand_by" value="/home/ivan/catkin_ws/src/rosbuzz/script/stand_by.bzz"/>
|
2017-02-23 11:57:05 -04:00
|
|
|
</node>
|
2017-03-01 16:48:16 -04:00
|
|
|
|
|
|
|
<!--
|
2017-02-23 11:57:05 -04:00
|
|
|
<node pkg="rosloader" type="rosloader" name="rosloader" output="screen"/>
|
2017-03-01 16:48:16 -04:00
|
|
|
-->
|
|
|
|
|
2017-02-23 11:57:05 -04:00
|
|
|
<!-- set streaming rate
|
|
|
|
/mavros/cmd/arming
|
|
|
|
<node pkg="rosservice" type="rosservice" name="stream_rate" args="call /mavros/set_stream_rate 0 10 1" />
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
|
|
</launch>
|