I'm having a similar problem to what has been posted before, and tried the solutions posted (as far as I can tell) to no avail. I'm running 2.6 on the blue shield with XY and Z IR sensors and pitot tube installed with a Spektrum DX6i Tx and running power off the ESC (no separate battery). All controls, including throttle, work fine in manual mode. When I flip to Stabilize, I get no motor action. Other controls work fine and the IR responds as expected. Here is the serial monitor log from that... you can see the ch3_in go up, but nothing happens:
###STABILIZE 1***
+++ASP:0,THH:0,RLL:7,PCH:-14,ch3_in:957,***
!!!LAT:40312635,LON:-83100942,SPD:0.0900000000,CRT:31.0000000000,ALT:297,ALH:0,CRS:175,BER:115,WPN:1,DST:-1,BTV:0.0000000000,RSP:-0.0466801834,TOW:0,***
+++ASP:0,THH:0,RLL:11,PCH:-13,ch3_in:1020,***
+++ASP:0,THH:3,RLL:11,PCH:-13,ch3_in:1116,***
+++ASP:0,THH:15,RLL:11,PCH:-13,ch3_in:1206,***
+++ASP:0,THH:27,RLL:13,PCH:-13,ch3_in:1305,***
+++ASP:0,THH:41,RLL:12,PCH:-14,ch3_in:1414,***
+++ASP:0,THH:54,RLL:12,PCH:-14,ch3_in:1523,***
+++ASP:0,THH:67,RLL:12,PCH:-14,ch3_in:1626,***
+++ASP:0,THH:81,RLL:11,PCH:-13,ch3_in:1733,***
+++ASP:0,THH:90,RLL:12,PCH:-12,ch3_in:1808,***
!!!LAT:40312631,LON:-83100943,SPD:0.0700000000,CRT:37.0000000000,ALT:299,ALH:0,CRS:175,BER:115,WPN:1,DST:-1,BTV:0.0000000000,RSP:-0.0670799970,TOW:0,***
+++ASP:0,THH:96,RLL:13,PCH:-13,ch3_in:1853,***
+++ASP:0,THH:95,RLL:12,PCH:-14,ch3_in:1852,***
+++ASP:0,THH:88,RLL:12,PCH:-14,ch3_in:1791,***
+++ASP:0,THH:74,RLL:11,PCH:-13,ch3_in:1683,***
+++ASP:0,THH:56,RLL:11,PCH:-13,ch3_in:1533,***
+++ASP:0,THH:31,RLL:13,PCH:-13,ch3_in:1337,***
+++ASP:0,THH:11,RLL:11,PCH:-13,ch3_in:1179,***
+++ASP:0,THH:0,RLL:13,PCH:-13,ch3_in:1085,***
+++ASP:0,THH:0,RLL:11,PCH:-13,ch3_in:1030,***
+++ASP:0,THH:0,RLL:13,PCH:-13,ch3_in:999,***
+++ASP:0,THH:0,RLL:12,PCH:-14,ch3_in:981,***
!!!LAT:40312629,LON:-83100943,SPD:0.1500000000,CRT:36.0000000000,ALT:300,ALH:0,CRS:175,BER:115,WPN:1,DST:-1,BTV:0.0000000000,RSP:-0.0736183166,TOW:0,***
+++ASP:0,THH:0,RLL:13,PCH:-13,ch3_in:970,***
+++ASP:0,THH:0,RLL:11,PCH:-13,ch3_in:964,***
+++ASP:0,THH:0,RLL:12,PCH:-14,ch3_in:959,***
+++ASP:0,THH:0,RLL:11,PCH:-13,ch3_in:959,***
+++ASP:0,THH:0,RLL:11,PCH:-13,ch3_in:959,***
###MANUAL 0***
Same thing in Fly-by-wire-B mode... ch3_in goes up, but no motor action:
###FLY BY WIRE B 2***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:960,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:960,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:960,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:960,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:959,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:959,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:960,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:1041,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:1208,***
!!!LAT:40312659,LON:-83100885,SPD:0.2700000047,CRT:14.0000000000,ALT:313,ALH:0,CRS:175,BER:115,WPN:1,DST:-1,BTV:0.0000000000,RSP:-0.0866400051,TOW:0,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:1437,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:1633,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:1748,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:1816,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:1855,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:1847,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:1788,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:1670,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:1489,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:1295,***
!!!LAT:40312659,LON:-83100882,SPD:0.1800000095,CRT:13.0000000000,ALT:313,ALH:0,CRS:175,BER:115,WPN:1,DST:-1,BTV:0.0000000000,RSP:-0.0866400051,TOW:0,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:1154,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:1073,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:1025,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:997,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:980,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:971,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:966,***
###STABILIZE 1***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:961,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:959,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:959,***
!!!LAT:40312658,LON:-83100877,SPD:0.0399999980,CRT:17.0000000000,ALT:314,ALH:0,CRS:175,BER:115,WPN:1,DST:-1,BTV:0.0000000000,RSP:-0.0870789432,TOW:0,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:959,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:959,***
+++ASP:0,THH:0,RLL:14,PCH:-14,ch3_in:959,***
###MANUAL 0***
I'll attach the .h file I'm using.
I tried adding mux4 pins and moving the wire. Again, throttle response in manual is fine, but nothing in Stabilize or Fly-by-wire-B. I checked continuity between the mux and input, mux and output, and arduino (or is it atmel?) and output, and they're all fine. I'm out of guesses, unless it is a power problem from running off the ESC.
Any ideas?
Replies
Change your header to specify that you want THROTTLE_IN to be 11 instead of 13.
Good luck,
Jason
http://code.google.com/p/ardupilot/downloads/list
Try the throttle test. Just use the included header and load it up.
It will print ch3_in and ch3_out.
You could skip the mux and wire it directly to your servo to see if the mux is bad.
Jason
But if you have no throttle in STABILIZE you may have a hardware problem. Look at the telemetry you posted. You can see that in FLY_BY_WIRE_B the throttle value is always zero due to trying to get down to a zero speed. However in the STABILIZE data you can see that it is trying to give you non-zero throttle values.... You could have a problem with the multiplexor. They are known to be a bit sensitive (to electrostatic discharge, etc.) One as mine developed a bad throttle channel which i fixed by rewireing through channel 4
#define CRUISE_AIRSPEED 0 // If we have airspeed sensor pitch is used to maintain desired airspeed and throttle is used for climb/descent