拓展3:FishBot 树莓派配置建图导航
-
@一百个苹果 看一下rqt tf tree
-
@小鱼
使用物理机运行ros2 launch slam_toolbox online_async_launch.py前,rqt_tf_tree是这样的:
但是运行此命令时,报错[async_slam_toolbox_node-1] [INFO] [1741952037.107363519] [slam_toolbox]: Message Filter dropping message: frame 'laser_frame' at time 1741952035.454 for reason 'discarding message because the queue is full',再次查看rqt_tf_tree,显示:
在关闭“ros2 launch slam_toolbox online_async_launch.py“窗口后,再次查看rqt_tf_tree,显示:
此时,使用ros2 topic echo /tf,发现部分信息有错误:
transforms:- header:
stamp:
sec: 1742209731
nanosec: 339710976
frame_id: odom
child_frame_id: base_footprint
transform:
translation:
x: 0.00010399995517218485
y: 9.391605715336482e-08
z: 0.0
rotation:
x: 0.0
y: 0.0
z: 0.0006020260043442249
w: 0.9999998211860657
transforms:
- header:
stamp:
sec: 1742209731
nanosec: 340761088
frame_id: odom
child_frame_id: base_footprint
transform:
translation:
x: 0.00010399995517218485
y: 9.391605715336482e-08
z: 0.0
rotation:
x: 0.0
y: 0.0
z: 0.0006020260043442249
w: 0.9999998211860657
A message was lost!!!
total count change:24
total count: 137---
A message was lost!!!
total count change:3
total count: 140---
A message was lost!!!
total count change:1
total count: 141---
A message was lost!!!
total count change:11
total count: 152---
A message was lost!!!
total count change:2
total count: 154---
A message was lost!!!
total count change:16
total count: 170--- - header:
-
@一百个苹果 应该是连在一起的才对
-
@小鱼 本来是完整的tf_tree,但是一运行slam_toolbox online_async_launch.py后tf_tree就只剩两个节点了,不知道什么原因
-
@小鱼 问题解决了,让虚拟机和树莓派之间使用ntp服务同步时间后就正常了
-
@一百个苹果 ok
-
鱼哥为啥我的树莓派4b2g建图导航的时候特别卡,用ssh连的时候rviz几乎动不了,小车也是原地转圈
-
@苛性钠zzz 哈喽,你的那个树莓派和
这个板子如何接线的呀
-
@1117 usb连接就行