Hello U-all


Im looking for a way to set the auxillary functions (RC5-8) eg. to flap mode direct from the conifg file or arduplane code...

Is this even possible or is this parameter allways read from the eeprom on the APM?

Thnx Thomas

Tags: Config, Function, RC

Views: 23

Reply to This

Replies to This Discussion

Thomas,

    It's definitely possible to hardcode this somewhere in the code.  You could put a line like this into ArduPlane's setup function (or perhaps it would be better placed in radio.pde's init_rc_in function):

           g.rc_8.function = RC_Channel_aux::k_flap;

 

     That's certainly not the cleanest way to do it.  The best way would be to set the defaults somehow through APM_Config.h but I don't think that's currently possible.

RSS

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service