RizkiWahyupratama / ardupilot-mega

Automatically exported from code.google.com/p/ardupilot-mega
0 stars 0 forks source link

# define CH7_OPTION CH7_SIMPLE_MOD over MP #435

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Is it posible to change this in the MP?? And not over Compiling?
This ist quite more conftible???
And the oter setting for CH7 also.
Or do it over the CLI Menue??

I also have postet this on the arducoper Issues part, because I don´t know if 
it´s only a change in MP or also on arducopter sketch

Original issue reported on code.google.com by druckgott on 15 Oct 2011 at 8:56

GoogleCodeExporter commented 9 years ago
It will be good to include the CH7 Optine als an cli menue to configurate it, 
so you do not have to upload the code again for eavry change of chanel 7

Original comment by druckgott on 16 Oct 2011 at 9:36

GoogleCodeExporter commented 9 years ago

Original comment by Meee...@gmail.com on 17 Oct 2011 at 2:25

GoogleCodeExporter commented 9 years ago

Same requests to be able to set Ch6 options from MP.

Ch6 options are very important to correctly setup PID settings.

Without the possibility to set the CH6 PID controlled parameter from MP, it is 
necessary to recompile and upload to the APM board each time we need to fine 
adjust a different PID parameter.

Original comment by olivier....@helidream.fr on 20 Oct 2011 at 10:04

GoogleCodeExporter commented 9 years ago
CH6 settings are posible over cli menue setup tune:
http://diydrones.com/forum/topics/tune-loiter-pid-over-tune-mode
you do not recompile this

Original comment by druckgott on 26 Oct 2011 at 6:57

GoogleCodeExporter commented 9 years ago
It looks like that CH7 setting is moved to MP. But how do one set CH7 if one 
not use MP ?
I am only using CLI, do not have Windows machine, and after 2.0.49, I am not 
able to change CH7 setting anymore.

Original comment by list...@free.fr on 11 Dec 2011 at 12:58

GoogleCodeExporter commented 9 years ago
You can always set any param using defines. APM_Config.h has what you need to 
set a new default.

Original comment by jasonshort on 11 Dec 2011 at 5:20

GoogleCodeExporter commented 9 years ago
I always have 
# define CH7_OPTION     CH7_SIMPLE_MODE
But it does not work anymore.
First, it is not taken into account, CH7_OPTION is always set to 7 and even if 
I modify Parameters.h to force CH7 to Simple mode it does not work.
It appears that in control_modes.pde the if for simple mode do nothing
#elif CH7_OPTION == CH7_SIMPLE_MODE
        //Serial.println(g.rc_7.control_in, DEC);
#elif CH7_OPTION == CH7_SET_HOVER

Original comment by list...@free.fr on 11 Dec 2011 at 7:18

GoogleCodeExporter commented 9 years ago

Original comment by Meee...@gmail.com on 12 Dec 2011 at 12:26

GoogleCodeExporter commented 9 years ago
Fixed in 2.1

Original comment by jasonshort on 12 Dec 2011 at 6:32