Hi everyone - I’m recently working with a Gresmy Mio gimbal, mounted on an Aurelia X4 standard using the MTX Hub for communication connection to the Pixhawk (Blue Cube).
I’d like to be able to use this gimbal with a camera onboard for surveying/photogrammetry flights. I’m trying to understand how to control it in this way as part of an auto mission.
I’d like the gimbal to pitch the camera down 90deg (earth frame - I think?) and then keep the camera aligned with the front of the drone so the photos are all “right side up”. I think I’d use this command in the auto mission Plan page in Mission Planner - MAV_CMD_DO_GIMBAL_MANAGER_PITCHYAW, but I’m trying to test this on the bench before just putting it up in the air.
I found this page - Control a Gimbal / Camera Mount — Dev documentation and so was trying to send a mavproxy command to the gimbal to simulate what this (MAV_CMD_DO_GIMBAL_MANAGER_PITCHYAW) would do during an Auto Mission, but I can’t seem to get the gimbal to stay aligned with the front of the aircraft when I give the mavproxy command and then pick up the drone and yaw it around by hand. The Mavproxy command I was using is:
message COMMAND_LONG 0 0 1000 0 -90 0 float(“NaN”) float(“NaN”) 0 0 0
When I use this command, the gimbal puts the camera at nadir, which is great, but I can’t get the “stay aligned with aircraft nose” part figured out.
Other gimbal commands via MavProxy seem to work okay and I can also use the TX sliders to manually control the gimbal roll/pitch/yaw, so it seems that communication is working normally.
Can anyone assist in pointing me in the correct direction on how to do this? Thank you!