Skip to content

Deprecating the start/stop services in Servo #762

Closed

Description

@tylerjw

As of #761 the initialization of servo is done in the constructor and no longer in the service callback for start. This simplifies the code but did not remove the start or stop endpoints.

The reason for this is there is some race condition in startup if you start servo in the constructor. This can be seen by moving the call to start into the constructor of ServoNode.

Others have mentioned that we should probably move away from using the tf2_ros::StaticTransformBroadcasterNode to create the transform between panda_link0 and world. I suspect if we could create this transform programmatically or via configs it would help with the race condition.

Activity

  1. added
    bug
    on Oct 29, 2021
  2. self-assigned this
    on Oct 29, 2021
  3. added
    enhancement
    and removed
    bug
    on Oct 30, 2021
  4. added
    good first issue
    on Mar 20, 2023
  5. sjahr commented on Jul 13, 2023

    @sjahr
    Contributor

    @ibrahiminfinite Will this be addressed by your refactoring?

  6. ibrahiminfinite commented on Jul 13, 2023

    @ibrahiminfinite
    Contributor

    The new implementation does not have a start/stop service.
    We only have a 'pause' service that controls whether Servo accepts commands or not.

    This issue can resolved once #2224 is merged, which should be pretty soon. Finishing upon the tests.

  7. linked a pull request that will close this issue[Servo] Refactoring servo #2224on Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementgood first issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions