You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 17, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+46-40Lines changed: 46 additions & 40 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ Ros wrapper for the ZED Stereo Camera SDK
5
5
6
6
**This wrapper also requires the PCL library**
7
7
8
-
This sample is a wrapper for the ZED library in order to use the ZED Camera with ROS. It can provide the camera images, the depth map, and a 3D point cloud
8
+
This sample is a wrapper for the ZED library in order to use the ZED Camera with ROS. It can provide the camera images, the depth map, a 3D textured point cloud, and the odometry given by the ZED tracking.
9
9
Published topics:
10
10
11
11
- /camera/point_cloud/cloud
@@ -15,6 +15,7 @@ Published topics:
15
15
- /camera/left/image_rect_color
16
16
- /camera/rgb/camera_info
17
17
- /camera/rgb/image_rect_color
18
+
- /camera/odom
18
19
19
20
A set of parameters can be specified in the launch file provided in the launch directory.
20
21
@@ -23,12 +24,15 @@ A set of parameters can be specified in the launch file provided in the launch d
23
24
The zed_ros_wrapper is a catkin package made to run on ROS Indigo, and depends
If you want to see the point cloud, launch rviz, select zed_optical_frame in Displays->Global Options->Fixed Frame->zed_optical_frame.
55
-
Then click on 'add' (bottom left), select the 'By Topic' tab, select point_cloud->cloud->PointCloud2 and click 'OK'.
56
-
58
+
If you want to see the point cloud, lauch rviz with the following command. Then click on **add** (bottom left), select the **By Topic** tab, select **point_cloud->cloud->PointCloud2** and click **OK**.
59
+
57
60
$ rosrun rviz rviz
58
61
59
62
Note that rviz isn't very good at displaying a camera feed and a point cloud at the same time. You should use an other instance of rviz or the `rosrun` command.
frame_rate | Rate at which images are published | int
75
-
rgb_topic | Topic to which rgb==default==left images are published | string
76
-
rgb_cam_info_topic | Topic to which rgb==default==left camera info are published | string
77
-
rgb_frame_id | ID specified in the rgb==default==left image message header | string
78
-
left_topic | Topic to which left images are published | string
79
-
left_cam_info_topic | Topic to which left camera info are published | string
80
-
left_frame_id | ID specified in the left image message header | string
81
-
right_topic | Topic to which right images are published | string
82
-
right_cam_info_topic | Topic to which right camera info are published | string
83
-
right_frame_id | ID specified in the right image message header | string
84
-
depth_topic | Topic to which depth map images are published | string
85
-
depth_cam_info_topic | Topic to which depth camera info are published | string
86
-
depth_frame_id | ID specified in the depth image message header | string
87
-
point_cloud_topic | Topic to which point clouds are published | string
88
-
cloud_frame_id | ID specified in the point cloud message header | string
89
-
90
-
91
-
92
-
93
-
94
-
95
-
64
+
To visualize the odometry in rviz, select the **Add** button, and select the **odom** topic under the **By topic** tab.
96
65
66
+
*Important: By default rviz is badly displaying the odometry, be sure to set it up correctly by opening the newly created Odometry object in the left list, and by setting **Position Tolerance** and **Angle Tolerance** to **0**, and **Keep** to **1**. *
97
67
68
+
You can also see the point could fused with the odometry by subscribing to the 'odom' topic (even in an other rviz or an other node).
98
69
70
+
To change your referential, use the 'Fixed Frame' parameter at the top-left of rviz.
0 commit comments