forked from Mcpigeons04/Drone-Simulation-Gazebo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
task_1.launch
28 lines (20 loc) · 963 Bytes
/
task_1.launch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<launch>
<include file="$(find rotors_gazebo)/launch/swift_with_swift_msg.launch">
</include>
<arg name="name" default="whycon"/>
<arg name="targets" default="1"/>
<!-- DO NOT CHANGE THE FOLLOWING TWO VALUES -->
<arg name="outer_diameter" default=".55"/>
<arg name="inner_diameter" default=".20"/>
<node name="whycon" type="whycon" pkg="whycon" output="screen">
<param name="targets" value="$(arg targets)"/>
<param name="name" value="$(arg name)"/>
<param name="outer_diameter" value="$(arg outer_diameter)"/>
<param name="inner_diameter" value="$(arg inner_diameter)"/>
<remap from="/camera/camera_info" to="/gazebo/overhead_cam/camera_info"/>
<remap from="/camera/image_rect_color" to="/gazebo/overhead_cam/image_rect_color"/>
</node>
<node ns = "whycon_display" name="image_view" type="image_view" pkg="image_view" output="screen">
<remap from="image" to="/whycon/image_out"/>
</node>
</launch>