|
| 1 | +<launch> |
| 2 | + |
| 3 | + <include file="$(find zed_wrapper)/launch/zed_tf.launch" /> |
| 4 | + |
| 5 | + <param name="robot_description" textfile="$(find zed_wrapper)/urdf/zed.urdf" /> |
| 6 | + |
| 7 | + <arg name="svo_file1" default=""/> |
| 8 | + <arg name="svo_file2" default=""/> |
| 9 | + <arg name="svo_file3" default="path/to/svo/file.svo"/> |
| 10 | + |
| 11 | + <group ns="camera"> |
| 12 | + |
| 13 | + |
| 14 | + <node name="zed_state_publisher" pkg="robot_state_publisher" type="state_publisher" /> |
| 15 | + |
| 16 | + <node name="zed_wrapper_node1" pkg="zed_wrapper" type="zed_wrapper_node" args="$(arg svo_file1)" output="screen"> |
| 17 | + |
| 18 | + <param name="resolution" value="2" /> |
| 19 | + <param name="quality" value="1" /> |
| 20 | + <param name="sensing_mode" value="1" /> |
| 21 | + <param name="frame_rate" value="30" /> |
| 22 | + <param name="odometry_DB" value="" /> |
| 23 | + <param name="openni_depth_mode" value="0" /> |
| 24 | + <param name="gpu_id" value="-1" /> |
| 25 | + <param name="zed_id" value="0" /> |
| 26 | + |
| 27 | + <param name="rgb_topic" value="rgb/image_rect_color" /> |
| 28 | + <param name="rgb_cam_info_topic" value="rgb/camera_info" /> |
| 29 | + <param name="rgb_frame_id" value="/zed_tracked_frame" /> |
| 30 | + |
| 31 | + <param name="left_topic" value="left/image_rect_color" /> |
| 32 | + <param name="left_cam_info_topic" value="left/camera_info" /> |
| 33 | + <param name="left_frame_id" value="/zed_tracked_frame" /> |
| 34 | + |
| 35 | + <param name="right_topic" value="right/image_rect_color" /> |
| 36 | + <param name="right_cam_info_topic" value="right/camera_info" /> |
| 37 | + <param name="right_frame_id" value="/zed_tracked_frame" /> |
| 38 | + |
| 39 | + <param name="depth_topic" value="depth/image_rect_color" /> |
| 40 | + <param name="depth_cam_info_topic" value="depth/camera_info" /> |
| 41 | + <param name="depth_frame_id" value="/zed_tracked_frame" /> |
| 42 | + |
| 43 | + <param name="point_cloud_topic" value="point_cloud/cloud" /> |
| 44 | + <param name="cloud_frame_id" value="/zed_tracked_frame" /> |
| 45 | + |
| 46 | + <param name="odometry_topic" value="odom" /> |
| 47 | + <param name="odometry_frame_id" value="/zed_initial_frame" /> |
| 48 | + <param name="odometry_transform_frame_id" value="/zed_tracked_frame" /> |
| 49 | + |
| 50 | + |
| 51 | + </node> |
| 52 | + |
| 53 | + <node name="zed_wrapper_node2" pkg="zed_wrapper" type="zed_wrapper_node" args="$(arg svo_file2)" output="screen"> |
| 54 | + |
| 55 | + <param name="resolution" value="2" /> |
| 56 | + <param name="quality" value="1" /> |
| 57 | + <param name="sensing_mode" value="1" /> |
| 58 | + <param name="frame_rate" value="30" /> |
| 59 | + <param name="odometry_DB" value="" /> |
| 60 | + <param name="openni_depth_mode" value="0" /> |
| 61 | + <param name="gpu_id" value="-1" /> |
| 62 | + <param name="zed_id" value="1" /> |
| 63 | + |
| 64 | + <param name="rgb_topic" value="rgb/image_rect_color_1" /> |
| 65 | + <param name="rgb_cam_info_topic" value="rgb/camera_info_1" /> |
| 66 | + <param name="rgb_frame_id" value="/zed_tracked_frame_1" /> |
| 67 | + |
| 68 | + <param name="left_topic" value="left/image_rect_color_1" /> |
| 69 | + <param name="left_cam_info_topic" value="left/camera_info_1" /> |
| 70 | + <param name="left_frame_id" value="/zed_tracked_frame_1" /> |
| 71 | + |
| 72 | + <param name="right_topic" value="right/image_rect_color_1" /> |
| 73 | + <param name="right_cam_info_topic" value="right/camera_info_1" /> |
| 74 | + <param name="right_frame_id" value="/zed_tracked_frame_1" /> |
| 75 | + |
| 76 | + <param name="depth_topic" value="depth/image_rect_color_1" /> |
| 77 | + <param name="depth_cam_info_topic" value="depth/camera_info_1" /> |
| 78 | + <param name="depth_frame_id" value="/zed_tracked_frame_1" /> |
| 79 | + |
| 80 | + <param name="point_cloud_topic" value="point_cloud/cloud_1" /> |
| 81 | + <param name="cloud_frame_id" value="/zed_tracked_frame_1" /> |
| 82 | + |
| 83 | + <param name="odometry_topic" value="odom_1" /> |
| 84 | + <param name="odometry_frame_id" value="/zed_initial_frame_1" /> |
| 85 | + <param name="odometry_transform_frame_id" value="/zed_tracked_frame_1" /> |
| 86 | + |
| 87 | + |
| 88 | + </node> |
| 89 | + |
| 90 | + <!-- <node name="zed_wrapper_node3" pkg="zed_wrapper" type="zed_wrapper_node" args="$(arg svo_file3)" output="screen"> |
| 91 | +
|
| 92 | + <param name="resolution" value="2" /> |
| 93 | + <param name="quality" value="1" /> |
| 94 | + <param name="sensing_mode" value="1" /> |
| 95 | + <param name="frame_rate" value="15" /> |
| 96 | + <param name="odometry_DB" value="" /> |
| 97 | + <param name="openni_depth_mode" value="0" /> |
| 98 | + <param name="gpu_id" value="-1" /> |
| 99 | +
|
| 100 | + <param name="rgb_topic" value="rgb/image_rect_color_2" /> |
| 101 | + <param name="rgb_cam_info_topic" value="rgb/camera_info_2" /> |
| 102 | + <param name="rgb_frame_id" value="/zed_tracked_frame_2" /> |
| 103 | +
|
| 104 | + <param name="left_topic" value="left/image_rect_color_2" /> |
| 105 | + <param name="left_cam_info_topic" value="left/camera_info_2" /> |
| 106 | + <param name="left_frame_id" value="/zed_tracked_frame_2" /> |
| 107 | +
|
| 108 | + <param name="right_topic" value="right/image_rect_color_2" /> |
| 109 | + <param name="right_cam_info_topic" value="right/camera_info_2" /> |
| 110 | + <param name="right_frame_id" value="/zed_tracked_frame_2" /> |
| 111 | +
|
| 112 | + <param name="depth_topic" value="depth/image_rect_color_2" /> |
| 113 | + <param name="depth_cam_info_topic" value="depth/camera_info_2" /> |
| 114 | + <param name="depth_frame_id" value="/zed_tracked_frame_2" /> |
| 115 | +
|
| 116 | + <param name="point_cloud_topic" value="point_cloud/cloud_2" /> |
| 117 | + <param name="cloud_frame_id" value="/zed_tracked_frame_2" /> |
| 118 | +
|
| 119 | + <param name="odometry_topic" value="odom_2" /> |
| 120 | + <param name="odometry_frame_id" value="/zed_initial_frame_2" /> |
| 121 | + <param name="odometry_transform_frame_id" value="/zed_tracked_frame_2" /> |
| 122 | +
|
| 123 | +
|
| 124 | + </node> --> |
| 125 | + </group> |
| 126 | +</launch> |
0 commit comments