buffer overflow detected

asked 2020-11-04 10:57:51 -0500

dinesh gravatar image

updated 2020-11-04 11:40:07 -0500

I'm getting this kind of error while trying to visualize tf in rviz. Error in robot on board computer:

Transform failed during publishing of map_odom transform: Lookup would require extrapolation 0.078976925s into the past.  Requested time 1604508889.790973663 but the earliest data is at time 1604508889.869950533, when looking up transform from frame [base_link] to frame [odom]

Errop ms in controller i.e local pc running rviz:

*** buffer overflow detected ***: terminated
[medicbot/rviz-4] process has died [pid 65123, exit code -6, cmd /opt/ros/noetic/lib/rviz/rviz -d /home/ubuntu/generic_robot_controller/src/medicbot_controller/rviz/medicbot.rviz __name:=rviz __log:=/home/ubuntu/.ros/log/6ca44350-1ebe-11eb-a02f-193105ef8d8e/medicbot-rviz-4.log].
log file: /home/ubuntu/.ros/log/6ca44350-1ebe-11eb-a02f-193105ef8d8e/medicbot-rviz-4*.log

In robot i'm running This are the ros modules i'm running in robot:

<?xml version="1.0"?>
<launch>
  <group ns="medicbot">
  <!-- Launch the rplidar module -->    
  <include file="$(find rplidar_ros)/launch/rplidar.launch"/>

  <!-- Launch the hector slam module -->
  <include file="$(find medicbot)/launch/medicbot_hector_slam.launch"/>

  <!-- Launch the robot localization module to fuse and filter the odom/imu data -->
  <include file="$(find medicbot)/launch/medicbot_ekf.launch"/>

  <!-- Launch the imu module -->
  <!--node pkg="medicbot" type="imu_node" name="imu_node"/-->

  <!-- Launch the camera module -->
  <node pkg="cv_camera" name="cv_camera_node" type="cv_camera_node"/>

  <!-- Launch the diff driver controller module -->
  <include file="$(find ros_control_boilerplate)/medicbot_control/launch/medicbot_diff_drive_controller.launch"/>
  </group>
</launch>

i'm using ros noetic. How do i remove this problem. Whenever i try to visualize the tf in rviz the rviz window suddenly closes showing above error.

edit retag flag offensive close merge delete

Comments

and your question is?

chfritz gravatar image chfritz  ( 2020-11-04 11:07:10 -0500 )edit

How to remove this problem?

dinesh gravatar image dinesh  ( 2020-11-04 11:39:30 -0500 )edit
1

This reads like a duplicate of #q360820 and #q361551 and should already be fixed.

Can you make sure you don't have any outstanding updates?

And if it is a duplicate, please close this one.

gvdhoorn gravatar image gvdhoorn  ( 2020-11-04 12:54:24 -0500 )edit