smashyanand / ardupilot-mega

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

No servo input #129

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have been trying to test the new Alpha code checked out today. I have an 
issue with the PPM decoding. I can't read any servo signals and thereby not 
switch modes. I have also tested the radio debug mode but no input from 
receiver. 

* Servo output works
* Servos connected directly to the receiver works
* I sucessfully reflashed the PPM decoder 
* The blue LED it flashing at about one Hz.
* Yellow and Red LED on
* APM output at startup inserted below
* I have tested two different receivers with same result
* Tested both channel 7 and 8 as mode channel

Do i have a hardware problem or is this an issue with the APM code?

*****************************************************************************
Init ArduPilotMega 1.0.3 Public Alpha

freeRAM: 3996
Number of log files exceeds max.  Log 19 will be overwritten.

User configs
|
15
6
30
2.0064001083
0
75
45
1
6
1
332
|
15
6
30
2.0064001083
0
75
45
1
6
1
332

Flight Settings
Checking stored values
P,I,D,iMax :  0.4000000000, 0.0000000000, 0.0000000000, 5.0000000000
P,I,D,iMax :  0.6000000000, 0.0000000000, 0.0000000000, 5.0000000000
P,I,D,iMax :  0.5000000000, 0.0000000000, 0.0000000000, 5.0000000000
P,I,D,iMax :  0.7000000000, 0.0099999990, 0.0199999990, 5.0000000000
P,I,D,iMax :  0.6500000000, 0.0000000000, 0.0000000000, 5.0000000000
P,I,D,iMax :  0.6500000000, 0.0000000000, 0.0000000000, 5.0000000000
P,I,D,iMax :  0.5000000000, 0.0000000000, 0.0000000000, 20.0000000000
P,I,D,iMax :  0.3199999809, 0.0399999980, 0.0000000000, 20.0000000000
kff:  0.2000000000, 0.5000000000, 2.5000000000
crosstrack gain: 1.0000000000, entry angle: 3000
MSG Startup: AIR
MSG: reset_control_switch1
MSG: wp_total = 255
*****************************************************************************

Original issue reported on code.google.com by magnus.l...@gmail.com on 23 Sep 2010 at 1:24

GoogleCodeExporter commented 9 years ago
Magnus,

The current revision (R928) has no provision for getting the ch1-4 radio 
min/max values into EEPROM, and will therefore not get proper servo response.  
If you had not used a previous version and have the values in EEPROM you will 
see this issue.  This is a transitional situation in the code.  This will be 
corrected in a near term revision.

Original comment by dewei...@gmail.com on 25 Sep 2010 at 4:26

GoogleCodeExporter commented 9 years ago
code has now stabilized, please try again. We were in the middle of adding 
features for this.

Original comment by jasonshort on 26 Sep 2010 at 1:22

GoogleCodeExporter commented 9 years ago
Well, works fine with my new APM board but something is wrong with my old one. 
It doesn't read PPM pulses. Really strange but not an issue for the APM code 
development.

/Magnus

Original comment by magnus.l...@gmail.com on 26 Sep 2010 at 3:31