Enable or Disable Channel 5 sending a command


I have attached to the Channel 5 a Servo. So, when i turn on or turn off this channel the servo moves well. My problem is the next, i need to have the channel 5 turn on always and trying to move it modifying the Arducopter Software or maybe send a message using MAVLink protocol but i haven't found one for that aim.

I have seen the function that maybe they are for this.

void AP_Relay::off()

void AP_Relay::toggle()

The idea is send a command to move the servo.

Could someone please help me with this?


You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –


  • I believe that the relay command is only for the APM 1 !


This reply was deleted.