6-robot / wpr_simulation2

9 stars 2 forks source link

有bug 附上修复方法 #1

Open yjrqz777 opened 3 months ago

yjrqz777 commented 3 months ago

ros2 launch wpr_simulation2 navigation.launch.py 建议修改启动时序,不好的电脑可能出bug,gazebo启动后应该延时启动后面的 报错 Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist [rviz2-6] at line 93 in ./src/buffer_core.cpp 修复 static_transform_publisher_cmd = Node( package='tf2_ros', executable='static_transform_publisher', name='fix_map', arguments=['0', '0', '0', '0', '0', '0', '/map', '/odom'] )

ld.add_action(static_transform_publisher_cmd)#添加到最后

navigation.launch.py.txt

aaronmack commented 1 week ago

[component_container_isolated-23] [WARN] [1719464362.050170100] [global_costmap.global_costmap]: Sensor origin at (-0.20, 1.78) is out of map bounds (0.00, 0.00) to (4.98, 4.98). The costmap cannot raytrace for it. 我会报一个错~