SET_ATTITUDE_TARGET and RC_OVERRIDE on ArduCopter 3.5

Hi All!

I’m working on ArduCopter 3.5 and I’m trying to control the drone with my own ground station. I achieved to change the modes/takeoff/plan a mission and launch it… But I want to use the set_attitude_target message or rc_channels_override in either GUIDED or ALTHOLD mode.

When I’m in sitl, I can put the command set_attitude in the mavproxy console and it’s working. But when it’s my plateform nothing is done for the set_attitude or rc_channels_override. Any Ideas?

I also try to send before the MAV_CMD_NAV_GUIDED_ENABLE and the answer is “unsupported” (MAV_RESULT =3) : in the “switch case” for command_long inArduCopter code it’s not present but I have no idea how to implement this.

Thank you all for your answers :slight_smile:

If it works in SITL it should work in the real copter.
Are you sure you have the latest version running on the copter (3.5.5) ?

Hi! I download the last version and it’s working :slight_smile: Thank you