Skip to content

"set_pitch_rate_and_yaw_rate() " Not working #657

Open
@Bharannn

Description

@Bharannn

Hey,
I am trying the control my gimbal (Siyi A8 mini) with ArduPilot firmware using set_pitch_rate_and_yaw_rate, however I am not able to achieve that. I have gone through the previous issue regarding the same issue #481 but there wasn't any proper solution. These are following parameters i have been using with ArduPilot:

  1. SERIAL2_PROTOCOL to 8 (“SToRM32 Gimbal Serial”)

  2. SERIAL2_BAUD to “115” for 115200 bps

  3. MNT1_TYPE to “8” (“Siyi”)

  4. CAM1_TYPE to 4 / “Mount (Siyi)”

The ArduPilot and MAVSDK versions I'm using are v4.4.4 and 1.4.9 respectively.

While using ArduPilot I'm able to control the gimbal with 'set_pitch_and_yaw' only the 'set_pitch_rate' and 'gimbal.set_mode(GimbalMode.YAW_FOLLOW)' weren't working.

So I've tried to the same with PX4 (v1.14.0) and the parameters I've used are:

  1. MNT_MODE_IN to MAVlink gimbal protocol v2

  2. MNT_MODE_OUT to MAVLink gimbal protocol v2.

  3. MAV_1_CONFIG to TELEM2

  4. MAV_1_MODE to NORMAL.

With these settings I'm not able to control the gimbal at all with PX4. I would like to know if I'm missing any parameter or version I need to for my gimbal to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions