当前位置:网站首页>采坑:Didn‘t receive robot state (joint angles) with recent timestamp within 1 seconds.
采坑:Didn‘t receive robot state (joint angles) with recent timestamp within 1 seconds.
2022-06-30 09:36:00 【dbdxnuliba】
错误信息:
Didn't receive robot state (joint angles) with recent timestamp within 1 seconds.Check clock synchronization if your are running ROS across multiple machines
我的环境,joint_states 由gazebo发布,move_group订阅这个话题,其中moveit中源码为:

经过排查发现gazebo发布的joint_state 时间戳余ros时间戳相差甚远,不同步。
解决方法:
在gazebo发起的launch文件中需要显式地将参数use_sim_time 设置为true才行
<arg name="use_sim_time" default="true"/>
<!-- launch the gazebo simulator and spawn the robot -->
<include file="$(find robot_moveit_config)/launch/gazebo.launch" >
<arg name="paused" value="$(arg paused)"/>
<arg name="gazebo_gui" value="$(arg gazebo_gui)"/>
<arg name="urdf_path" value="$(arg urdf_path)"/>
<arg name="use_sim_time" value="$(arg use_sim_time)"/>
</include>边栏推荐
- What makes flutter special
- 文章内容无法复制复制不了
- How do databases go to the enterprise cloud? Click to view the answer
- 直播带货源码开发中,如何降低直播中的延迟?
- MCU firmware packaging Script Software
- Returnjson, which allows more custom data or class names to be returned
- Use and description of event delegation
- prometheus 监控之 ntp_exporter
- Principle and implementation of small program hand-held bullet screen (uni APP)
- Redis docker master-slave mode and sentinel
猜你喜欢

How does the diode work?

Shell script functions

【AGC】构建服务3-认证服务示例

Theme Studio(主题工作室)
![[new book recommendation] mongodb performance tuning](/img/2c/e5a814df4412a246c703ca548a4f68.png)
[new book recommendation] mongodb performance tuning

Xlnet (generalized autorefressive trainingfor language understanding) paper notes

G 代码解释|最重要的 G 代码命令列表

Quick completion guide for manipulator (4): reducer of key components of manipulator

MCU firmware packaging Script Software

Object detection yolov5 open source project debugging
随机推荐
3. integrate eslint and prettier
9. cache optimization
Flutter 中的 ValueNotifier 和 ValueListenableBuilder
文章内容无法复制复制不了
【JVM】CMS简述
【ARK UI】HarmonyOS ETS的启动页的实现
Some domestic image sources
Shenhe thermomagnetic: Super fusion dual active cluster solution for MES system
G code explanation | list of the most important G code commands
将小程序容器技术应用到物联网IoT生态建设中
11.自定义hooks
MIT-6874-Deep Learning in the Life Sciences Week6
ModuleNotFoundError: No module named ‘_swigfaiss‘
Financial private cloud infrastructure scheme evaluation (Architecture and storage)
调试方法和技巧详解
Abstract classes and interfaces
栈题目:字符串解码
log4j
Dart development skills
Principle and implementation of small program hand-held bullet screen (uni APP)