Hi,
Currently, I am using pymavlink to control the Pixhawk in my AUV. We are using Stabilize mode to keep the AUV straight and go forward. But at some point I want the AUV to turn 90 degrees right/left.
How can I do that from pymavlink?
And I also want to control the GAIN Up and Down with pymavlink. What parameter should I change for that?
Attitude control is only possible with the master branch of ArduPilot, there is no such thing in the stable firmware since this is a development feature.
You can check more about it here and in SET_ATTITUDE_TARGET.
To accomplish the angle change with the stable firmware version, you should use our Send RC example and control the channel 4 until you get the desired angle.
Hi, Patrick
We compiled the code and updated our Pixhawk.
master.mav.set_attitude_target_send()
I am trying to use this command to set the target. Can you show me any documentation on how to send mavlinkcommand from pymavlink.
I am, using pymavlink in python 3.5