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

Kendolph's profile - activity

2022-01-11 02:30:32 -0500 received badge  Famous Question (source)
2021-02-07 11:20:35 -0500 received badge  Famous Question (source)
2021-01-26 22:38:00 -0500 received badge  Notable Question (source)
2021-01-26 22:38:00 -0500 received badge  Popular Question (source)
2020-09-24 07:46:12 -0500 marked best answer rtabmap: Did not receive data since 5 seconds ! (but it should be receiving !)

Hello, I'm using ros-noetic-desktop-full/focal,now 1.5.0-1focal.20200826.205403 amd64 [installed] on Ubuntu 20

rtabmap says it's not receiving data but the topics it's subscribed to are sending data.

[ INFO] [1599753269.979982470]: Odom: quality=374, std dev=0.008319m|0.038960rad, update time=0.048805s
[ INFO] [1599753270.384529419]: Odom: quality=366, std dev=0.008452m|0.027549rad, update time=0.055490s
[ INFO] [1599753270.783139929]: Odom: quality=382, std dev=0.008427m|0.036256rad, update time=0.054365s
[ INFO] [1599753270.980215457]: Odom: quality=381, std dev=0.009444m|0.027549rad, update time=0.052128s
[ INFO] [1599753271.187793313]: Odom: quality=366, std dev=0.009227m|0.041195rad, update time=0.057325s
[ INFO] [1599753271.582514826]: Odom: quality=361, std dev=0.008557m|0.032761rad, update time=0.052902s
[ INFO] [1599753271.782553265]: Odom: quality=375, std dev=0.008748m|0.036256rad, update time=0.051991s
[ WARN] [1599753272.071042131]: /rtabmap/rtabmap: Did not receive data since 5 seconds! Make sure the input topics are published ("$ rostopic hz my_topic") and the timestamps in their header are set. If topics are coming from different computers, make sure the clocks of the computers are synchronized ("ntpdate"). If topics are not published at the same rate, you could increase "queue_size" parameter (current=5000).
/rtabmap/rtabmap subscribed to (approx sync):
   /stereo_odometry,
   /stereo_camera/left/image_rect_color,
   /stereo_camera/right/image_rect,
   /stereo_camera/left/camera_info,
   /stereo_camera/right/camera_info
[ INFO] [1599753272.190012838]: Odom: quality=359, std dev=0.008809m|0.027549rad, update time=0.056297s
[ INFO] [1599753272.393765113]: Odom: quality=374, std dev=0.008249m|0.036256rad, update time=0.061737s

I can see the odometry with rtabmapviz and as you can see it's working (well ?) . I've check all 5 topics one by one because multiple topic checks fails with this

rostopic hz /stereo_odometry /stereo_camera/left/image_rect /stereo_camera/left/camera_info
subscribed to [/stereo_odometry]
subscribed to [/stereo_camera/left/image_rect]
subscribed to [/stereo_camera/left/camera_info]
Traceback (most recent call last):  
File "/opt/ros/noetic/bin/rostopic",
line 35, in <module>
    rostopic.rostopicmain()   File "/opt/ros/noetic/lib/python3/dist-packages/rostopic/__init__.py",
line 2132, in rostopicmain
    _rostopic_cmd_hz(argv)   File "/opt/ros/noetic/lib/python3/dist-packages/rostopic/__init__.py",
line 1523, in _rostopic_cmd_hz
    _rostopic_hz(topics, window_size=window_size,
filter_expr=filter_expr,   File
"/opt/ros/noetic/lib/python3/dist-packages/rostopic/__init__.py",
line 323, in _rostopic_hz
    rt.print_hz(topics)   File "/opt/ros/noetic/lib/python3/dist-packages/rostopic/__init__.py",
line 270, in print_hz
    print(_get_ascii_table(header, stats))   File
"/opt/ros/noetic/lib/python3/dist-packages/rostopic/__init__.py",
line 285, in _get_ascii_table
    body = '\n'.join('   '.join(cols[h][i] for h in header) for
i in xrange(n_rows)) NameError: name
'xrange' is not defined

So after checking the topics one by one all of them are publishing data at about 4-5 messages per second. I'm lost :) . Am I misunderstanding the message somehow ?

Thanks in advance

2020-09-24 07:46:12 -0500 received badge  Scholar (source)
2020-09-21 20:03:56 -0500 commented answer rtabmap: Did not receive data since 5 seconds ! (but it should be receiving !)

Got it to work at last ! Recompiled rtabmap_ros with DEBUG, did not help but I saw that it is crashing somewhere in TF2.

2020-09-21 13:30:31 -0500 commented answer rtabmap: Did not receive data since 5 seconds ! (but it should be receiving !)

Got it to work at last ! Recompiled rtabmap_ros with DEBUG, did not help but I saw that it is crashing somewhere in TF2.

2020-09-21 11:05:22 -0500 commented answer rtabmap: Did not receive data since 5 seconds ! (but it should be receiving !)

"Fixed" the problem - BRIEF was not available. But I got it to here - buffer overflow sounds like a problem :) [ INFO]

2020-09-19 05:32:45 -0500 received badge  Enthusiast
2020-09-18 09:39:58 -0500 asked a question How to switch cv_camera to MJPEG stream ?

How to switch cv_camera to MJPEG stream ? Hello, I need to switch the USB stream to the camera to MJPEG because the ra

2020-09-18 05:06:38 -0500 commented answer rtabmap: Did not receive data since 5 seconds ! (but it should be receiving !)

Did it - I had to add 4 more Gigs to the test machine apparently for C++ 4GB RAM (I even killed the X server) is not eno

2020-09-17 20:44:01 -0500 commented answer rtabmap: Did not receive data since 5 seconds ! (but it should be receiving !)

Did it - I had to add 4 more Gigs to the test machine apparently for C++ 4GB RAM (I even killed the X server) is not eno

2020-09-17 14:22:08 -0500 commented answer rtabmap: Did not receive data since 5 seconds ! (but it should be receiving !)

Did it - I had to add 4 more Gigs to the test machine apparently for C++ 4GB RAM (I even killed the X server) is not eno

2020-09-17 09:39:13 -0500 commented answer rtabmap: Did not receive data since 5 seconds ! (but it should be receiving !)

I guess I have to - it needs rtabmap 0.20.2 and the package is "ros-noetic-rtabmap/focal,now 0.20.0-3focal.20200812.2015

2020-09-16 02:34:45 -0500 received badge  Notable Question (source)
2020-09-14 03:41:54 -0500 commented answer rtabmap: Did not receive data since 5 seconds ! (but it should be receiving !)

Well basically nothing changed with the new 'rtabmap_ros' :) I fixed the 'rostopic' this is the output.

2020-09-14 03:41:54 -0500 commented question rtabmap: Did not receive data since 5 seconds ! (but it should be receiving !)

I managed to "fix" the error with rostopic by just renaming xrange() to range()

2020-09-14 03:41:54 -0500 commented answer rtabmap: Did not receive data since 5 seconds ! (but it should be receiving !)

I had to hard code PCL_ROOT to "/usr" after : file(TO_CMAKE_PATH "${PCL_DIR}" PCL_DIR) if(WIN32 AND NOT MINGW) # PCLCon

2020-09-14 03:41:53 -0500 commented answer rtabmap: Did not receive data since 5 seconds ! (but it should be receiving !)

The first thing (approx_sync) didn't work. It even complains about it now :) . And the queue_size is already 5000.... I'

2020-09-12 13:52:22 -0500 received badge  Popular Question (source)
2020-09-10 11:55:52 -0500 asked a question rtabmap: Did not receive data since 5 seconds ! (but it should be receiving !)

rtabmap: Did not receive data since 5 seconds ! (but it should be receiving !) Hello, I'm using ros-noetic-desktop-full/