Files
rtabmap_ros/launch/azimut3/az3_bag_record.launch
T

38 lines
1.6 KiB
XML
Raw Normal View History

2014-07-11 18:05:11 +00:00
<launch>
<!-- rosbag record camera/data_throttled_image/compressed camera/data_throttled_image_depth/compressedDepth camera/data_throttled_camera_info tf base_scan /base_controller/odom -->
<include file="$(find az3_bringup)/az3_standalone.launch"/>
<include file="$(find az3_bringup)/joystick.launch"/>
<!-- OpenNI -->
<!-- Xtion -->
<include file="$(find openni2_launch)/launch/openni2.launch">
<arg name="depth_registration" value="True" />
<arg name="rgb_camera_info_url"
value="file://$(find rtabmap)/launch/calibration/rgb_PS1080_PrimeSense.yaml" />
<arg name="depth_camera_info_url"
value="file://$(find rtabmap)/launch/calibration/depth_PS1080_PrimeSense.yaml" />
</include>
<!-- Xtion frame -->
<node pkg="tf" type="static_transform_publisher" name="base_to_camera_tf"
args="0.077 0.067 0.185 0.0 0.0 0.0 /base_link /camera_link 100" />
<!-- Throttling messages -->
<group ns="camera">
<node pkg="nodelet" type="nodelet" name="data_throttle" args="load rtabmap/data_throttle camera_nodelet_manager" output="screen">
<param name="max_rate" type="double" value="10.0"/>
<remap from="rgb/image_in" to="rgb/image_color"/>
<remap from="depth/image_in" to="depth_registered/image_raw"/>
<remap from="rgb/camera_info_in" to="depth_registered/camera_info"/>
<remap from="rgb/image_out" to="/data_throttled_image"/>
<remap from="depth/image_out" to="/data_throttled_image_depth"/>
<remap from="rgb/camera_info_out" to="/data_throttled_camera_info"/>
</node>
</group>
</launch>