Skip to content

有bug 附上修复方法 #1

@yjrqz777

Description

@yjrqz777

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions