Does anyone know how to control servo’s by both RC transmitter and via Mission Planner.

 

I have been trying to get this done but so far I haven’t succeeded in figuring it out. I expect that the solution (if there is any) will be found in reprogramming some part of the code.

 

The issue is as follows: I would like to be able to control two additional servo’s via MP as part of a mission.  I am using an APM2.6 with ArduRover for which I slightly had to modify the skid steering code.

 

I reckoned I’ll need to configure an RCxx_FUNCTION as ‘disabled’ (value 0) and then probably control the servo with DO_SET_SERVO in a mission. By the way, these servo’s both have only two fixed positions, for my application there is no need for proportional control. Now this in itself isn’t so much the issue, I tested it and so far so good. The thing is however, that I also need to be able to control these servo’s via the RC transmitter in the normal way, i.e. when not executing a mission. For this the RCxx_FUNCTION should be set to 1 (‘passthrough’).

 

So, according to the wiki,  it’s either controlling servo’s by the RC Tx directly or via MAVlink commands; but not by both. But I need both!

 

I was thinking along the lines of triggering a MAVlink command via an RC channel. Does anybody know a solution for this? Maybe I’m overlooking the obvious here (which wouldn’t be the first time)...

Any help is much appreciated!

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

Join diydrones

Email me when people reply –

Activity