Skip to content

Torque-only control mode #303

@xmatousm

Description

@xmatousm

In our lab we are controlling the robots using torque-only mode (feedback controlling loop is computed in the ROS). To be able to do this, we set the stifness in sunrise workbench java part to zero. There are issues that we had to solve:

  • robot still needs to send joint position also - not used as stifness is zero, but must be not so far from actual one due to built in safety checks
  • when internal gravity compensation is not precise enough (which seems it isn't) the startup must be carefully solved, as ROS nodes startup takes some time and (at least in our architecture) the HW interface starts (and robot releses it brakes) a small amout of time before the full (rather complex) controller.

We have solved these issues by implementing the 'torque_only' parameter and client mode to system_interface, creating the new torque_only_command interface and by implementing simple P-control loop inside it that is active before the first real control torques are obtained.

Is this interesting for main-stream to create a merge request from our side?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions