2015-09-18 14:52:52 +00:00
|
|
|
<!--
|
|
|
|
Copyright © 2015 CentraleSupélec
|
|
|
|
|
|
|
|
This file is part of Hand Control.
|
|
|
|
|
|
|
|
Hand Control is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
Hand Control is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with Hand Control. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
-->
|
2015-04-24 16:18:52 +00:00
|
|
|
<!-- cf ARDrone Developer Guide -->
|
2015-04-24 13:04:40 +00:00
|
|
|
<launch>
|
2015-04-24 16:18:52 +00:00
|
|
|
<node name="ardrone_driver" pkg="ardrone_autonomy" type="ardrone_driver" output="screen" clear_params="true">
|
|
|
|
|
|
|
|
<!-- indoor -->
|
|
|
|
<param name="outdoor" value="0" />
|
|
|
|
|
|
|
|
<param name="max_bitrate" value="4000" />
|
|
|
|
<param name="bitrate" value="4000" />
|
|
|
|
|
2015-04-24 20:29:32 +00:00
|
|
|
<!-- 0 : 15Hz, drone sends a reduced set
|
2015-04-24 16:18:52 +00:00
|
|
|
of navigation data (without debugging info) -->
|
2015-04-24 20:29:32 +00:00
|
|
|
<!-- 1 : 200Hz -->
|
2015-04-24 16:18:52 +00:00
|
|
|
<param name="navdata_demo" value="0" />
|
|
|
|
|
|
|
|
<param name="flight_without_shell" value="0" />
|
|
|
|
|
|
|
|
<!-- in mm -->
|
2015-06-01 15:17:32 +00:00
|
|
|
<param name="altitude_max" value="8000" /><!-- 2 m -->
|
2015-04-24 16:18:52 +00:00
|
|
|
<param name="altitude_min" value="50" />
|
|
|
|
|
|
|
|
<!-- in radians, between 0. and 0.52 (30°) -->
|
|
|
|
<param name="euler_angle_max" value="0.21" />
|
|
|
|
|
|
|
|
<!-- maximum vertical speed, in mm/s -->
|
|
|
|
<!-- between 200 and 2000 -->
|
|
|
|
<param name="control_vz_max" value="700" />
|
|
|
|
|
|
|
|
<!-- maximum yaw speed, in radians/s -->
|
|
|
|
<!-- betwenn 0.7 and 6.11 -->
|
|
|
|
<param name="control_yaw" value="1.75" />
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ROS driver parameters -->
|
|
|
|
<param name="do_imu_caliberation" value="false" />
|
|
|
|
<param name="tf_prefix" value="mydrone" />
|
|
|
|
<!-- Covariance Values (3x3 matrices reshaped to 1x9)-->
|
|
|
|
<rosparam param="cov/imu_la">[0.1, 0.0, 0.0, 0.0, 0.1, 0.0, 0.0, 0.0, 0.1]</rosparam>
|
|
|
|
<rosparam param="cov/imu_av">[1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0]</rosparam>
|
|
|
|
<rosparam param="cov/imu_or">[1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 100000.0]</rosparam>
|
|
|
|
</node>
|
2015-04-24 13:04:40 +00:00
|
|
|
</launch>
|