ROBOTIS-JAPAN-GIT / turtlebot3_slam_3d

Turtlebot3 3D-SLAM demo using RTAB-Map with Jetson TX2 and ZED Mini
176 stars 62 forks source link

Transform error: Failed to lookup transformation from map to zed_left_camera_frame #5

Closed neoneo1716 closed 4 years ago

neoneo1716 commented 5 years ago

i have a tx2 and zed camera and has been set up the environment ,but when i run the launch file turtlebot3_zed_bringup.launch or turtlebot3_slam_3d.launch ,my ros can't receive the /map ,i look up the rostopic ,i find there are the camera topic and map topic ,but the rviz can't display the mapdate and pointcould, what should i do? [ERROR] [1547872278.454724]: Error opening serial: [Errno 2] could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'

Affonso-Gui commented 5 years ago

Usually /dev/ttyACM0 is the port assigned to the OpenCR (the board connecting the motors to the single board computer), so I am guessing the program is failing around here, before it can actually start the camera or the mapping itself.

Are you using a real Turtlebot3 or just trying out the package connecting the camera directly to the PC?

If it is the first case, make sure that the setup is alright and make sure to launch the bringup node turtlebot3_zed_bringup.launch directly from the single board computer.

By the way did the demo bag files work out?

Also, it would be helpful to have a look at the frames.pdf generated by rosrun tf view_frames as well.

neoneo1716 commented 5 years ago

ok ,thank you for you reply.in my case ,i just connecting the camera to the pc.but i dont' know why can't do that? i just want to test the camera how to build map

------------------ 原始邮件 ------------------ 发件人: "Affonso, Guilherme"notifications@github.com; 发送时间: 2019年1月21日(星期一) 晚上7:11 收件人: "ROBOTIS-JAPAN-GIT/turtlebot3_slam_3d"turtlebot3_slam_3d@noreply.github.com; 抄送: "魂々殇"597478922@qq.com; "Author"author@noreply.github.com; 主题: Re: [ROBOTIS-JAPAN-GIT/turtlebot3_slam_3d] Transform error: Failedto lookup transformation from map to zed_left_camera_frame (#5)

Usually /dev/ttyACM0 is the port assigned to the OpenCR (the board connecting the motors to the single board computer), so I am guessing the program is failing around here, before it can actually start the camera or the mapping itself.

Are you using a real Turtlebot3 or just trying out the package connecting the camera directly to the PC?

If it is the first case, make sure that the setup is alright and make sure to launch the bringup node turtlebot3_zed_bringup.launch directly from the single board computer.

By the way did the demo bag files work out?

Also, it would be helpful to have a look at the frames.pdf generated by rosrun tf view_frames as well.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

Affonso-Gui commented 5 years ago

You can also run the mapping/detection with only the camera, but some modifications to the launch files would be needed, such as:

Would probably be a better idea to try to start with the examples of the RTABMAP (mapping) and YOLO (detection) separately, and then try out this package to combine them.

That is:

t-kitajima commented 4 years ago

As there have been no updates, I am closing this issue.

YilmazKadir commented 4 years ago

I know this is late, but just try this: sudo chown $USER /dev/ttyACM0