ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2019-05-20 02:36:27 -0500 | marked best answer | rviz view_robot extreme slowdown I am trying to understand the reason for an extreme slowdown in visualization of the turtlebot view. I am very new to ROS. I have a recently assembled turtlebot that I can tele-operate. It took me some time to figure out how to launch its 3d camera (Orbbec Astra); I only managed to do it by installing astra_camera and astra_launch packages. I am now trying to visualize what the robot sees using rviz. After launching the camera on the robot (roslaunch astra_launch astra.launch) I launch rviz on the workstation: roslaunch turtlebot_rviz_launchers view_robot.launch. The problem is that visualization works extremely slow. I only tried Image and DepthCloud. Visualization starts with just a few frames per second, quickly degrading to less than a frame per second, then freezing. Occasionally unfreezing to show a few frames, then freezing again. DepthCloud is probably even worse than Image. It seems to me there is some problem in communication between the workstation and turtlebot. I observed what happens to ping readings when I use rviz. When there is no stream of data (Image and DepthCloud are unchecked in rviz), everything is fine, ping time is in order of milliseconds, and I have no problem tele-operating the robot. When I turn on the data stream (check Image or DepthCloud), ping time quickly climbs to hundreds or thousands of milliseconds, rviz shows something, then freezes for sometime, like I described above. At this point I either cannot control the bot via teleop, or there is a lag of up to many seconds. If I interrupt the data stream by unchecking corresponding boxes in rviz, everything comes back to normal and I can teleop again. Can somebody help me understand this behavior and how it can be fixed? I have ubuntu 14.04, ROS-indigo. The turtlebot is new, and the workstation is not very old. |
2018-04-03 19:35:07 -0500 | received badge | ● Famous Question (source) |
2017-12-21 20:58:43 -0500 | received badge | ● Famous Question (source) |
2017-12-08 18:59:45 -0500 | received badge | ● Notable Question (source) |
2017-07-26 00:19:54 -0500 | received badge | ● Enthusiast |
2017-07-25 13:50:51 -0500 | marked best answer | Is this a normal latency for ROS with Turtlebot? I am new to ROS and I know little about what to expect from it and from my Turtlebot2 in terms of performance. It does seem to me that it works too slow, but I do not know for sure. I would like someone to confirm this, and maybe suggest ways to diagnose my setup to find the reason of this slowness. Everything looks good if nothing on the workstation is subscribed to the camera feeds: (more) |
2017-07-25 13:50:51 -0500 | received badge | ● Scholar (source) |
2017-07-25 13:50:27 -0500 | commented answer | Is this a normal latency for ROS with Turtlebot? I think you are right. I did just try throttling a topic and testing it with rostopic hz and rosnode ping --all. The pin |
2017-07-25 13:14:05 -0500 | received badge | ● Notable Question (source) |
2017-07-24 22:20:33 -0500 | received badge | ● Popular Question (source) |
2017-07-24 20:31:33 -0500 | received badge | ● Popular Question (source) |
2017-07-24 20:30:56 -0500 | commented question | Is this a normal latency for ROS with Turtlebot? @jayess, it seems I do have network issues when something subscribes to the camera streams, like rviz or rostopic hz. It |
2017-07-24 15:07:29 -0500 | asked a question | Is this a normal latency for ROS with Turtlebot? Is this a normal latency for ROS with Turtlebot? I am new to ROS and I know little about what to expect from it and from |
2017-07-24 13:03:00 -0500 | edited answer | rviz view_robot extreme slowdown I partially resolved my issue. When displaying the camera feed in RViz, I had to choose appropriate settings for the Tra |
2017-07-23 18:41:02 -0500 | received badge | ● Supporter (source) |
2017-07-23 18:19:42 -0500 | answered a question | rviz view_robot extreme slowdown I partially resolved my issue. When displaying the camera feed in RViz, I had to choose appropriate settings for the Tra |
2017-07-22 00:55:56 -0500 | asked a question | rviz view_robot extreme slowdown rviz view_robot extreme slowdown I am trying to understand the reason for an extreme slowdown in visualization of the tu |