Skip to content

Race condition between launching ros2_control and Servo demo #450

Closed

Description

@AndyZe

Start one of the Servo demos like this:

ros2 launch moveit_servo servo_cpp_interface_demo.launch.py

ros2 control list_controllers

You will likely see that panda_arm_controller hasn't finished loading. It's in state finalized when it should be in state active.

We saw the same issue when creating the UR driver and with some other work as well. As a short-term fix, we can split the large launch file into 2 separate launch files and launch with a pause in-between (e.g. panda_controllers.launch and panda_servo.launch).

We might be able to add some type of wait condition in the launch file (new ROS2 feature?).

I don't know what the root cause is.

Activity

  1. added
    bug
    on May 3, 2021
  2. destogl commented on May 7, 2021

    @destogl
    Contributor

    Is this maybe solved by ros-controls/ros2_control#403?

  3. AndyZe commented on May 11, 2021

    @AndyZe
    MemberAuthor

    It does seem to be fixed now. Nice. Thanks @destogl

  4. added a commit that references this issue on Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions