Skip to content

No data under dock_status and ir_opcode topics using namespace #215

@Gior26

Description

@Gior26

Describe the bug
When using a namespace both the /dock_status topic and the /ir_opcode topic won't produce any data.
Running the same simulation without the namespace parameter correctly returns the expected data.

To Reproduce
Steps to reproduce the behavior:

  1. ros2 launch irobot_create_gazebo_bringup create3_gazebo.launch.py namespace:=robot1
  2. ros2 topic echo /robot1/dock_status
  3. ros2 topic echo /robot1/ir_opcode
  4. No data is returned

Expected behavior
Running ros2 topic echo /robot1/dock_status and /robot1/ir_opcode should return data.

Additional context
Repository branch: Humble
ROS Version: Humble
OS: Ubuntu 22.04.3 LTS
Gazebo: Classic

Other topic such as /ir_intensity work as expected with namespaces.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions