jaspreeth / ardupilot-mega

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

Flight Modes switching issue #459

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Set radio to give you first switch at PWM pulsewidth > 1620 && pulsewidth <= 
1749 - FLIGHT MODE 5
2. Set flight modes at Planner as you wish
3. You can test it connected with Planner (USB or Xbee) or disconnected. You 
will have same results

What is the expected output? What do you see instead?

I set that pulsewidth described above as "STABILIZE". When I switch to this 
mode, from the MANUAL mode, the APM doesn't react according the flight mode. It 
seems to stay at "MANUAL" mode. When I switch to the next pulsewidth, then it 
engages. If I switch back to the first pulsewidth, it also engages correctly. 
Recap, starting from the MANUAL mode, any pulsewidth above 1490 will not engage 
mode until you reach pulsewidth bellow 1490 (FLIGHT MODE 3). After you reach 
that pulsewidth you can switch back to any flight mode and it will engages.

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

I do test at APM versions 2.24 and 2.26, both with the same issue.

Please provide any additional information below.

Original issue reported on code.google.com by mpsou...@gmail.com on 26 Dec 2011 at 12:52

GoogleCodeExporter commented 8 years ago
New test shows that the first pulsewidth must be minimmum 1599 to flight modes 
engages. Anything above this it will stay as MANUAL.

Original comment by mpsou...@gmail.com on 26 Dec 2011 at 1:03

GoogleCodeExporter commented 8 years ago
I have tested that the functionality for switching between 6 flight modes is 
working in the software.  Please seek help on the forum.  You will get a lot 
more help on the forum for individual problems versus here - this issue tracker 
is for reporting bugs and does not get looked at or updated on a daily basis.

Original comment by dewei...@gmail.com on 26 Dec 2011 at 8:52

GoogleCodeExporter commented 8 years ago
Hi Dewei,

I'm sure that is not an individual issue.

Try to set your radio to get over 1800 pulsewith at Flight Mode 6 (MANUAL by 
default) and in Flight Mode 5 set pulsewidth over 1600, then try to engage your 
Flight Mode 5 starting from the Flight Mode 6 (You must switch directly from 
Mode 6 to Mode 5).

Please try this and see what I said.

Original comment by mpsou...@gmail.com on 27 Dec 2011 at 12:08

GoogleCodeExporter commented 8 years ago
Dewei,

The APM does remains at MANUAL state until it receives a PMW signal lower then 
1600 ms, this is fact. Any configuration of flight modes where you does not set 
the first switch position with a value lower then 1600 the APM will remain in 
MANUAL mode.

Original comment by mpsou...@gmail.com on 27 Dec 2011 at 12:25