2018-04-14 09:56:05 +03:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<launch>
|
|
|
|
<arg name="mynteye" default="mynteye" />
|
|
|
|
|
2019-03-22 14:12:06 +02:00
|
|
|
<!-- mutiple device -->
|
|
|
|
<arg name="is_multiple" default="false" />
|
|
|
|
|
|
|
|
<!-- serial_number -->
|
|
|
|
<!-- if is_mutiple is true, must set serial_number -->
|
|
|
|
<arg name="serial_number" default="" />
|
|
|
|
|
2018-04-14 09:56:05 +03:00
|
|
|
<!-- node params -->
|
|
|
|
|
2018-06-07 07:45:23 +03:00
|
|
|
<arg name="left_topic" default="left/image_raw" />
|
|
|
|
<arg name="right_topic" default="right/image_raw" />
|
2018-09-06 14:45:51 +03:00
|
|
|
<arg name="left_rect_topic" default="left_rect/image_rect" />
|
|
|
|
<arg name="right_rect_topic" default="right_rect/image_rect" />
|
2018-06-07 07:45:23 +03:00
|
|
|
<arg name="disparity_topic" default="disparity/image_raw" />
|
|
|
|
<arg name="disparity_norm_topic" default="disparity/image_norm" />
|
|
|
|
<arg name="depth_topic" default="depth/image_raw" />
|
|
|
|
<arg name="points_topic" default="points/data_raw" />
|
2018-04-30 05:51:09 +03:00
|
|
|
|
2018-10-29 09:42:04 +02:00
|
|
|
<arg name="left_mono_topic" default="left/image_mono" />
|
|
|
|
<arg name="right_mono_topic" default="right/image_mono" />
|
2018-10-25 15:25:14 +03:00
|
|
|
|
2018-06-07 07:45:23 +03:00
|
|
|
<arg name="imu_topic" default="imu/data_raw" />
|
2019-01-07 10:49:51 +02:00
|
|
|
<arg name="temperature_topic" default="temperature/data_raw" />
|
2018-04-14 09:56:05 +03:00
|
|
|
|
|
|
|
<arg name="base_frame_id" default="$(arg mynteye)_link" />
|
|
|
|
<arg name="left_frame_id" default="$(arg mynteye)_left_frame" />
|
|
|
|
<arg name="right_frame_id" default="$(arg mynteye)_right_frame" />
|
2018-04-30 05:51:09 +03:00
|
|
|
<arg name="left_rect_frame_id" default="$(arg mynteye)_left_rect_frame" />
|
|
|
|
<arg name="right_rect_frame_id" default="$(arg mynteye)_right_rect_frame" />
|
|
|
|
<arg name="disparity_frame_id" default="$(arg mynteye)_disparity_frame" />
|
|
|
|
<arg name="disparity_norm_frame_id" default="$(arg mynteye)_disparity_norm_frame" />
|
|
|
|
<arg name="points_frame_id" default="$(arg mynteye)_points_frame" />
|
|
|
|
<arg name="depth_frame_id" default="$(arg mynteye)_depth_frame" />
|
|
|
|
|
2019-01-07 10:49:51 +02:00
|
|
|
<arg name="temperature_frame_id" default="$(arg mynteye)_temperature_frame" />
|
2018-04-14 09:56:05 +03:00
|
|
|
|
2018-04-14 11:47:05 +03:00
|
|
|
<arg name="gravity" default="9.8" />
|
|
|
|
|
2019-03-20 05:29:18 +02:00
|
|
|
<arg name="mesh_file" default="S1030-0315.obj" />
|
2018-04-14 09:56:05 +03:00
|
|
|
<!-- Push down all topics/nodelets into "mynteye" namespace -->
|
|
|
|
<group ns="$(arg mynteye)">
|
|
|
|
|
|
|
|
<!-- mynteye_wrapper_node -->
|
2019-01-09 12:12:03 +02:00
|
|
|
<node name="mynteye_wrapper_node" pkg="mynt_eye_ros_wrapper" type="mynteye_wrapper_node" output="screen" respawn="true" respawn_delay="5">
|
2018-04-14 09:56:05 +03:00
|
|
|
|
|
|
|
<!-- node params -->
|
|
|
|
|
2019-03-22 14:12:06 +02:00
|
|
|
<param name="is_multiple" value="$(arg is_multiple)" />
|
|
|
|
<param name="serial_number" value="$(arg serial_number)" />
|
|
|
|
|
2018-04-14 09:56:05 +03:00
|
|
|
<param name="left_topic" value="$(arg left_topic)" />
|
|
|
|
<param name="right_topic" value="$(arg right_topic)" />
|
2018-04-30 05:51:09 +03:00
|
|
|
<param name="left_rect_topic" value="$(arg left_rect_topic)" />
|
|
|
|
<param name="right_rect_topic" value="$(arg right_rect_topic)" />
|
|
|
|
<param name="disparity_topic" value="$(arg disparity_topic)" />
|
|
|
|
<param name="disparity_norm_topic" value="$(arg disparity_norm_topic)" />
|
|
|
|
<param name="points_topic" value="$(arg points_topic)" />
|
|
|
|
<param name="depth_topic" value="$(arg depth_topic)" />
|
2019-03-19 03:38:51 +02:00
|
|
|
<param name="mesh_file" value="$(arg mesh_file)" />
|
2018-04-30 05:51:09 +03:00
|
|
|
|
2018-10-29 09:42:04 +02:00
|
|
|
<param name="left_mono_topic" value="$(arg left_mono_topic)" />
|
|
|
|
<param name="right_mono_topic" value="$(arg right_mono_topic)" />
|
2018-10-25 15:25:14 +03:00
|
|
|
|
2018-04-14 09:56:05 +03:00
|
|
|
<param name="imu_topic" value="$(arg imu_topic)" />
|
2019-01-07 10:49:51 +02:00
|
|
|
<param name="temperature_topic" value="$(arg temperature_topic)" />
|
2018-04-14 09:56:05 +03:00
|
|
|
|
|
|
|
<param name="base_frame_id" value="$(arg base_frame_id)" />
|
|
|
|
<param name="left_frame_id" value="$(arg left_frame_id)" />
|
|
|
|
<param name="right_frame_id" value="$(arg right_frame_id)" />
|
2018-04-30 05:51:09 +03:00
|
|
|
<param name="left_rect_frame_id" value="$(arg left_rect_frame_id)" />
|
|
|
|
<param name="right_rect_frame_id" value="$(arg right_rect_frame_id)" />
|
|
|
|
<param name="disparity_frame_id" value="$(arg disparity_frame_id)" />
|
|
|
|
<param name="disparity_norm_frame_id" value="$(arg disparity_norm_frame_id)" />
|
|
|
|
<param name="points_frame_id" value="$(arg points_frame_id)" />
|
|
|
|
<param name="depth_frame_id" value="$(arg depth_frame_id)" />
|
|
|
|
|
2019-01-07 10:49:51 +02:00
|
|
|
<param name="temperature_frame_id" value="$(arg temperature_frame_id)" />
|
2018-04-14 09:56:05 +03:00
|
|
|
|
2019-03-23 05:11:21 +02:00
|
|
|
<rosparam file="$(find mynt_eye_ros_wrapper)/config/device/standard.yaml" command="load" />
|
|
|
|
<rosparam file="$(find mynt_eye_ros_wrapper)/config/device/standard2.yaml" command="load" />
|
|
|
|
<rosparam file="$(find mynt_eye_ros_wrapper)/config/process/process_config.yaml" command="load" />
|
2019-01-12 07:45:49 +02:00
|
|
|
|
2019-03-22 12:09:02 +02:00
|
|
|
<param name="gravity" value="$(arg gravity)" />
|
2018-04-14 09:56:05 +03:00
|
|
|
</node>
|
|
|
|
|
2018-12-12 14:22:39 +02:00
|
|
|
<!-- disable compressed depth plugin for image topics -->
|
|
|
|
<group ns="$(arg left_topic)">
|
|
|
|
<rosparam param="disable_pub_plugins">
|
|
|
|
- 'image_transport/compressedDepth'
|
|
|
|
</rosparam>
|
|
|
|
</group>
|
|
|
|
<group ns="$(arg left_rect_topic)">
|
|
|
|
<rosparam param="disable_pub_plugins">
|
|
|
|
- 'image_transport/compressedDepth'
|
|
|
|
</rosparam>
|
|
|
|
</group>
|
2019-01-14 13:05:16 +02:00
|
|
|
<group ns="$(arg left_mono_topic)">
|
2018-12-12 14:22:39 +02:00
|
|
|
<rosparam param="disable_pub_plugins">
|
|
|
|
- 'image_transport/compressedDepth'
|
|
|
|
</rosparam>
|
|
|
|
</group>
|
|
|
|
<group ns="$(arg right_topic)">
|
|
|
|
<rosparam param="disable_pub_plugins">
|
|
|
|
- 'image_transport/compressedDepth'
|
|
|
|
</rosparam>
|
|
|
|
</group>
|
2019-01-14 13:05:16 +02:00
|
|
|
<group ns="$(arg right_mono_topic)">
|
|
|
|
<rosparam param="disable_pub_plugins">
|
|
|
|
- 'image_transport/compressedDepth'
|
|
|
|
</rosparam>
|
|
|
|
</group>
|
|
|
|
<group ns="$(arg right_rect_topic)">
|
|
|
|
<rosparam param="disable_pub_plugins">
|
|
|
|
- 'image_transport/compressedDepth'
|
|
|
|
</rosparam>
|
|
|
|
</group>
|
2018-12-12 14:22:39 +02:00
|
|
|
<group ns="$(arg disparity_topic)">
|
|
|
|
<rosparam param="disable_pub_plugins">
|
|
|
|
- 'image_transport/compressedDepth'
|
|
|
|
</rosparam>
|
|
|
|
</group>
|
|
|
|
<group ns="$(arg disparity_norm_topic)">
|
|
|
|
<rosparam param="disable_pub_plugins">
|
|
|
|
- 'image_transport/compressedDepth'
|
|
|
|
</rosparam>
|
|
|
|
</group>
|
2019-02-22 12:20:47 +02:00
|
|
|
<group ns="$(arg depth_topic)">
|
|
|
|
<rosparam param="disable_pub_plugins">
|
|
|
|
- 'image_transport/compressedDepth'
|
|
|
|
</rosparam>
|
|
|
|
</group>
|
2018-04-14 09:56:05 +03:00
|
|
|
</group> <!-- mynteye -->
|
|
|
|
</launch>
|