Skip to content

unable to use motor without PID setting #155

@christianrauch

Description

@christianrauch

Describe the bug
I am trying to use a motor actuator

<actuator>
    <motor class="x2" name="rotor/1" site="thrust1" gear="0 0 1 0 0 -.0201"/>
</actuator>

But this fails with something like:

Velocity command interface for the joint : rotor/1 is not supported with motor or custom actuator without defining the PIDs

It is unclear which PID controllers this is referring to, and the MujocoSystemInterface cannot assume any controllers loaded in the ros2_control_node.

To Reproduce
Steps to reproduce the behavior:

  1. load the Skydio X2 with support "site" transmission type #154

Expected behavior
As hardware_interface::SystemInterface, MujocoSystemInterface should only provide control and state interfaces for controllers, and not force users to configure controllers inside the SystemInterface.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: [e.g. Ubuntu]
  • Version [e.g. Humble]
  • Anything that may be unusual about your environment

Additional context
Add any other context about the problem here, especially include any modifications to ros2_control that relate to this issue.

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