jaspreeth / ardupilot-mega

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

Simple mode does not work anymore #454

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.# define CH7_OPTION       CH7_SIMPLE_MODE
2.
3.

What is the expected output? What do you see instead?
Simple mode is not active when switching CH7. 

What version of the product are you using? On what operating system?
AC 2.0.56

Please provide any additional information below.

# define CH7_OPTION     CH7_SIMPLE_MODE

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 issue reported on code.google.com by list...@free.fr on 12 Dec 2011 at 5:25

GoogleCodeExporter commented 8 years ago
Fixed in 2.1
You can remove that define and it will work.

// #elif CH7_OPTION == CH7_SIMPLE_MODE
        //Serial.println(g.rc_7.control_in, DEC);

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

GoogleCodeExporter commented 8 years ago

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