Robotics StackExchange | Archived questions

buffer overflow detected

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.

Asked by dinesh on 2020-11-04 11:57:51 UTC

Comments

and your question is?

Asked by chfritz on 2020-11-04 12:07:10 UTC

How to remove this problem?

Asked by dinesh on 2020-11-04 12:39:30 UTC

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.

Asked by gvdhoorn on 2020-11-04 13:54:24 UTC

Answers