set good parameters in ardrone.launch

This commit is contained in:
Louis-Guillaume DUBOIS 2015-04-24 18:18:52 +02:00
parent 84e6b1a441
commit 764ea3822a

View file

@ -1,27 +1,44 @@
<!-- This is a sample lanuch file, please change it based on your needs --> <!-- cf ARDrone Developer Guide -->
<launch> <launch>
<node name="ardrone_driver" pkg="ardrone_autonomy" type="ardrone_driver" output="screen" clear_params="true"> <node name="ardrone_driver" pkg="ardrone_autonomy" type="ardrone_driver" output="screen" clear_params="true">
<param name="outdoor" value="1" />
<param name="max_bitrate" value="4000" /> <!-- indoor -->
<param name="bitrate" value="4000" /> <param name="outdoor" value="0" />
<param name="navdata_demo" value="0" />
<param name="flight_without_shell" value="0" /> <param name="max_bitrate" value="4000" />
<param name="altitude_max" value="3000" /> <param name="bitrate" value="4000" />
<param name="altitude_min" value="50" />
<param name="euler_angle_max" value="0.21" /> <!-- 0 : drone sends a reduced set
<param name="control_vz_max" value="700" /> of navigation data (without debugging info) -->
<param name="control_yaw" value="1.75" /> <param name="navdata_demo" value="0" />
<param name="detect_type" value="10" />
<param name="enemy_colors" value="3" /> <param name="flight_without_shell" value="0" />
<param name="detections_select_h" value="32" />
<param name="detections_select_v_hsync" value="128" /> <!-- in mm -->
<param name="enemy_without_shell" value="0" /> <param name="altitude_max" value="2000" /><!-- 2 m -->
<param name="do_imu_caliberation" value="false" /> <param name="altitude_min" value="50" />
<param name="tf_prefix" value="mydrone" />
<!-- Covariance Values (3x3 matrices reshaped to 1x9)--> <!-- in radians, between 0. and 0.52 (30°) -->
<rosparam param="cov/imu_la">[0.1, 0.0, 0.0, 0.0, 0.1, 0.0, 0.0, 0.0, 0.1]</rosparam> <param name="euler_angle_max" value="0.21" />
<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> <!-- maximum vertical speed, in mm/s -->
</node> <!-- 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>
</launch> </launch>