Skip to content

Robot shakes on command mode switch #523

@caioaamaral

Description

@caioaamaral

Describe the bug
JointTrajectoryController causes robot to "jitter" on activation if joint was previous moved by another controller

To Reproduce
Steps to reproduce the behavior:

  1. Move joints using a different controller (for instance I'm using velocity_controllers/JointGroupVelocityController)
  2. Deactivate the first controller and activate JointTrajectoryController

Expected behavior
I expect the robot to keep its current position, since no command was send

Screenshots

dashboard_bug.mp4

Environment (please complete the following information):

  • OS: Ubuntu 22.04
  • Version [Humble]
  • JointTrajectoryController is configure with:
    • set_last_command_interface_value_as_state_on_activation: false
    • open_loop_control: false

Additional context
JTC is configure in a prismatic joint

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