added groundstation launch file and readme details bout it

This commit is contained in:
David 2018-12-04 14:24:31 -05:00
parent 2abace3e47
commit b470dc91a8
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,28 @@
<?xml version="1.0"?>
<launch>
<arg name="xbee" default="1"/>
<arg name="name" default="robot0"/>
<include file="$(find rosbridge_server)/launch/rosbridge_websocket.launch" >
<arg name="port" value="9090"/>
</include>
<group if="$(arg xbee)">
<include file="$(find xbee_ros_node)/launch/xbeemav.launch" />
</group>
<include file="$(find rosbuzz)/launch/rosbuzz.launch" >
<arg name="name" value="$(arg name)"/>
<arg name="xbee_plugged" value="false"/>
<arg name="script" value="main"/>
<arg name="setmode" value="false"/>
<arg name="latitude" value="29.067618"/>
<arg name="longitude" value="-13.662966"/>
</include>
<node pkg="rosbag" type="record" name="rosbag_groundstation"
args="record -o $(find rosbuzz)/buzz_scripts/log/GS- -a">
</node>
</launch>

View File

@ -1,4 +1,4 @@
ROSBuzz
ROSBuzz
=========================
Description:
@ -47,6 +47,8 @@ To run the ROSBuzz package using the launch file, execute the following:
Have a look at the launch file to understand what parameters are available to suit your usage. All topics and services names are listed in `launch_config/topics.yaml`. Note : Before launching the ROSBuzz node, verify all the parameters in the launch file. A launch file using gdb is available too (rosbuzzd.launch).
A launch file for a groundstation is also available `launch/groundstation.launch`. It uses the robot ID = 0, which is detected as a groundstation by our Buzz scripts. It also has hardcoded GPS coordinates to avoid the need of a GPS sensor on the groundstation. While a groundstation is never required to deploy a swarm with ROSBuzz, it opens a websocket on ROS, useful to monitor the swarm and it creates a rosbag of the flight.
* Buzz scripts: Several behavioral scripts are included in the "buzz_Scripts" folder, such as "graphformGPS.bzz" uses in [1] and the "testaloneWP.bzz" to control a single drone with a ".csv" list of waypoints. The script "empty.bzz" is a template script.
Publishers