Skip to content

mecanum driver controller shows weird behaviour with reference_timeout #1683

Open
@thedevmanek

Description

@thedevmanek

Describe the bug
I have a publisher constantly publishing to cmd_vel topic. The robot happily accepts the cmd till reference_timeout is reached.Once the robot hits timeout. It publishes nan to linear x,y and angular z. Which after reading the code
is expected.The problem is once the timeout is reached the robot does not take any further cmds
To Reproduce
Steps to reproduce the behavior:

  1. Run the example code in https://github.com/ros-controls/gz_ros2_control/tree/humble/gz_ros2_control_demos

Expected behavior
The controller is supposed to pick up new cmds as they come and not permanently stop.

Screenshots
https://github.com/user-attachments/assets/ed4e9d2a-482c-42cf-946f-bf42cc0ecd39
https://github.com/user-attachments/assets/aee966c0-1175-4b84-945d-449c38814ae3

Environment (please complete the following information):

  • OS: Ubuntu 22.04
  • Version Humble

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions