I have a m500 that I bought a while back with a gimbal attached, and am currently in the process of creating a protocol that allows the gimbal to be autonomously controlled. So far, my current progress consists of making the gimbal recognized as a mavlink device, and propagating mavlink commands through the autopilot.
However, I have been unable to find the commands that make the gimbal move. For instance, when the gimbal is given a signal from the RC controller, it can rotate and tilt (https://www.youtube.com/watch?v=eYr8nyFid0E&ab_channel=ModalAI). What are the commands that move the gimbal, and what PX4 parameters, if any, need to be set?
Additionally, what commands are used for the gimbal to automatically stabilize upon drone startup?
@Daniel-Ryu , here's a possibility: https://docs.modalai.com/voxl-m500-gimbal-user-guide/#mavsdk-behavior-with-mavlink
This gimbal is fairly simple, the stabilization occurs on bootup automatically only.