ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Mapping with Zed Camera

asked 2019-08-22 09:35:15 -0500

vonunwerth gravatar image

updated 2022-04-17 11:05:52 -0500

lucasw gravatar image

Hi, i want to use our Stereolabs Zed Cam to get a map in Rviz. I set up zed-wrapper (and SDK and Cuda) successfully and startet the zed.launch file to get image data. The data is broadcasted to its topics and i can get it echoing the corresponding topics. Also in rqt the images can be shown. But if i open rviz i can't see anything. No image data, no pointcloud,... I loaded the rviz config file from stereolabs and the first different point on my system is: I have no map frame. There are only the following frames availabe: base_frame, base_link, odometry_frame, zed_camera_center, zed_{left,right}_camera_{optical}_frame. I found out it could be a problem with this tricky fixed frame and got the tf-tree attached below. There i can find two subtrees... Is this correct or is this my problem? With frame base_link chosen the rviz looks as in the image below. TF says "No transform from [base_frame] to frame [base_link]. I think this is a problem, but why and how to solve it? Nothing to see hereimage description

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-08-22 12:31:04 -0500

You should remap the frame in either the zed_node or state publisher to have the same frame. Alternatively, you can add the base_frame to base_link transform to a robot state publisher.

edit flag offensive delete link more

Comments

How to do that?

dasmurat gravatar image dasmurat  ( 2022-06-10 05:35:05 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2019-08-22 09:35:15 -0500

Seen: 763 times

Last updated: Aug 22 '19