Skip to content

How to set Startup Torque On while also being able to use ros2_control #102

@alireza-moayyedi

Description

@alireza-moayyedi

Hello,

My robot operates on sloped terrains and regardless of whether ros2_control is running or not, I want to have the torque always on. Otherwise it would just roll down if something crashes or if the ros2 stack is not up yet. I tried using the Startup Torque On configuration available in the EEPROM Area which indeed turns it on by default. But then the problem is that since the torque is on, ros2_control cannot initialize as it would not be able to set the any configuration in RAM:

Image

I would have expected the hardware interface to be able to implicitly turn off the torque, apply settings and turn on the torque again. Of course that is also turning it off but then it would be rather quick.

So the question is, is there a way to set the torque on by default, while also being able to initialize ros2_control afterwards?

For context, I am using XH540-V150-R motors with Firmware version 49.

Looking forward to your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions