예를 들면 다음과 같이 설정할 수 있다.
<launch>
<arg name="config" default="$(find vins_estimator)/../config/realsense_d435i/realsense.yaml"/>
<group ns="robot1">
<param name="agent_num" type="int" value="1" />
<node name="vins_estimator" pkg="vins_estimator" type="vins_estimator" args="$(arg config)" output="screen"/>
</group>
</launch>
확장된 예시
<launch>
<arg name="device_type_camera2" default="d4.5"/>
<arg name="serial_no_camera2" default=""/>
<arg name="camera2" default="d400"/>
<arg name="tf_prefix_camera2" default="$(arg camera2)"/>
<arg name="initial_reset" default="false"/>
<arg name="clip_distance" default="-2"/>
<arg name="topic_odom_in" default="odom_in"/>
<arg name="calib_odom_file" default=""/>
<arg name="config_file" default=""/>
<group ns="$(arg camera2)">
<include file="$(find realsense2_camera)/launch/includes/nodelet.launch.xml">
<arg name="device_type" value="$(arg device_type_camera2)"/>
<arg name="serial_no" value="$(arg serial_no_camera2)"/>
<arg name="tf_prefix" value="$(arg tf_prefix_camera2)"/>
<arg name="initial_reset" value="$(arg initial_reset)"/>
<arg name="align_depth" value="true"/>
<arg name="filters" value="pointcloud,disparity,spatial,temporal"/>
<arg name="enable_color" default="false"/>
<arg name="color_width" value="640"/>
<arg name="color_height" value="480"/>
<arg name="depth_width" value="640"/>
<arg name="depth_height" value="480"/>
<arg name="clip_distance" value="$(arg clip_distance)"/>
<arg name="json_file_path" value="$(arg config_file)"/>
<arg name="enable_fisheye" value="false"/>
<arg name="enable_depth" value="true"/>
<arg name="infra_width" value="640"/>
<arg name="infra_height" value="480"/>
<arg name="enable_infra1" value="true"/>
<arg name="enable_infra2" value="true"/>
<arg name="color_fps" value="5"/>
<arg name="depth_fps" value="5"/>
<arg name="infra_fps" value="30"/>
</include>
</group>
</launch>