Servo Gimbal Stabilization - ArduPlane 4.5.7

Can anyone confirm if ArduPlane 4.5.7 still supports servo gimbal stabilization? I’ve built a custom firmware with all gimbal parameters enabled, but I can’t find any parameter (e.g., MNT1_STAB_ROLL or MNT1_STAB_PITCH) to enable stabilization.

Has this feature been removed in newer versions, or is there another way to achieve the same functionality? Any help would be greatly appreciated.

Thanks,
Brian

The MNT_ params were changed a few versions back. You will need to set MNT1_TYPE,1 then reboot, all the related gimbal controls will then appear eg:

MNT1_DEFLT_MODE,1
MNT1_DEVID,0
MNT1_LEAD_PTCH,0.05
MNT1_LEAD_RLL,0.05
MNT1_NEUTRAL_X,0
MNT1_NEUTRAL_Y,0
MNT1_NEUTRAL_Z,0
MNT1_OPTIONS,0
MNT1_PITCH_MAX,30
MNT1_PITCH_MIN,-20
MNT1_RC_RATE,0
MNT1_RETRACT_X,0
MNT1_RETRACT_Y,0
MNT1_RETRACT_Z,0
MNT1_ROLL_MAX,45
MNT1_ROLL_MIN,-45
MNT1_SYSID_DFLT,0
MNT1_TYPE,1

The gimbal GUI section in Mission Planner has not yet been updated for the new params so you will need to edit the params directly.

Hi @BrianMueller,

I actually faced the same issue - not seeing the MNT1_… and MNT2_… parameters in ArduRover 4.5.7. I came to the forum to create a post about it but found your topic, which turned out to be really helpful:

I’ve built a custom firmware with all gimbal parameters enabled.

So, I tried the same approach using the custom ArduPilot build system: ArduPilot Custom Firmware Builder

What I noticed: When selecting my target board SpeedyBee F405 V3, the default configuration does not include the gimbal section. It seems that’s why the official “default” Rover firmware for this board doesn’t support gimbals.

To fix this, I selected the servo gimbal option, built the firmware using the pipeline, and after some trial and error, I finally managed to get a successful build. Initially, I tried disabling unnecessary features, but that caused build/linker issues. It worked on the third attempt, and the final firmware size was even smaller than the original, so I’m sure it fits.

Successfully flashed the build onto my flight controller, and now I can see the MNT1_… and MNT2_… parameters. Now I can proceed with the setup guide:
https://ardupilot.org/rover/docs/common-camera-gimbal.html

And yes - set MNT1_TYPE first for your type of gimbal - then reboot - then you will have all necessary MNT1_… params in place.

Hope this helps!