Sending MAVProxy messages from a python program?

Thanks a lot.
I have one more question. We want to test a gimbal camera control without any mission (we are using PX4 firmware and DroneCore as a mavlink library). We know that we can control servo using DO_SET_SERVO command. But this command is not supported with PX4. Can you offer other way to test gimbal control without mission (without arming etc. directly) ?

DO_SET_SERVO will work for unassigned servo outputs. If you have configured a camera gimbal mount and assigned pan/tilt functions to servo outputs then you can use the MAV_CMD_DO_MOUNT_CONTROL command.

PX4 supports this command, but the problem is - this command does not affect if there is no mission. For ex. if we run sample take_off mission - it will work, otherwise - not. We want to test only gimbal, camera control without arming and etc. Is it possible ?

It’s possible with ArduSub and ardupilot firmware in the way that I described. I don’t know anything about PX4 firmware.

Ok, I will try. Thank you for support !

1 Like