Skip to content

how to control single motor with /mavros/rc/ovverride #2045

Open
@Sep2000-san

Description

@Sep2000-san

Dear all,
I'm trying to control each 4 motor using Ardupilot with BlueROV2 control system. I'm connected with the package mavros, using ros2 humble via udp.

When I try to send override command after i set this parameter:

ros2 param set /mavros/param SYSID_MYGCS 1

I send this command:

ros2 topic pub --rate=10 /mavros/rc/override mavros_msgs/msg/OverrideRCIn "{channels: [65535, 65535, 65535, 65535, 1700, 65535, 65535, 65535, 1300, 1300, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535]}"

With 1300 value i control some light and with the channel 5, I'm able to control all the motor in once.

I want to control each motor individually but I don't know how to do it.

Is there anyone who encountered this issue?

I've tried to change setmode, I've also tried different command.

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