ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This issue has been resolved by launching all of my nodes within the same launch file. I'm not entirely sure why this fixed things, but I guess there must have been some kind of timing issue.

This issue has been resolved I was able to get the node to subscribe to the odometry topic by launching all of adding {'odom0': '/odom/data'} to my nodes within the same launch file. I'm not entirely sure why this fixed things, but I guess there must have been some kind of timing issue.file:

    Node(
        package='robot_localization',
        executable='ekf_node',
        name='ekf_filter_node',
        output = 'screen',
        parameters=[os.path.join(get_package_share_directory("mlabot"), 'config', 'ekf.yaml'), {'odom0': '/odom/data'}],
        ),