Launch file moved to its own folder. README updated for launch file.
Esse commit está contido em:
+1
-14
@@ -279,20 +279,7 @@ After successful calibration, press the `commit` button in the UI. The driver wi
|
||||
|
||||
### Can I see a sample ardrone node in a launch file to learn how to set parameters?
|
||||
|
||||
|
||||
```xml
|
||||
|
||||
<node name="ardrone_driver" pkg="ardrone_autonomy" type="ardrone_driver" output="screen">
|
||||
<param name="max_bitrate" value="2000" />
|
||||
<param name="bitrate" value="2000" />
|
||||
<param name="do_imu_caliberation" value="true" />
|
||||
<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>
|
||||
```
|
||||
Yes, you can check the `launch` folder for sample lanuch file.
|
||||
|
||||
## TODO
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!-- This is a sample lanuch file, please change it based on your needs -->
|
||||
<launch>
|
||||
<node name="ardrone_driver" pkg="ardrone_autonomy" type="ardrone_driver" output="screen" clear_params="true">
|
||||
<param name="outdoor" value="1" />
|
||||
@@ -6,9 +7,9 @@
|
||||
<param name="navdata_demo" value="0" />
|
||||
<param name="flight_without_shell" value="1" />
|
||||
<param name="altitude_max" value="4000" />
|
||||
<param name="altitude_min" value="150" />
|
||||
<param name="euler_angle_max" value="0.5" />
|
||||
<param name="control_vz_max" value="2000" />
|
||||
<param name="altitude_min" value="150" />
|
||||
<param name="euler_angle_max" value="0.5" />
|
||||
<param name="control_vz_max" value="2000" />
|
||||
<param name="control_yaw" value="350" />
|
||||
<param name="detect_type" value="10" />
|
||||
<param name="enemy_colors" value="3" />
|
||||
@@ -18,5 +19,9 @@
|
||||
<param name="enemy_without_shell" value="0" />
|
||||
<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>
|
||||
Referência em uma Nova Issue
Bloquear um usuário