Developer

Added 2.6.1 update

I've posted 2.6.1.  It's a minor update but some people might find it very useful.

First I've added a PIN # for throttle input. The choices are 11 or 13. The default is 13, but if things go well, 11 will be the recommended choice.

Throttle failsafe is off by default, and is user configureable. I would still suggest that users set their ESCs low point to a specific value.

I've added a better version of the flight internal SIM. Set your GPS protocol to SIM and you'll be able to see realistic telemetry output while the plane is in auto. Disconnect your motor if you don't want the prop spinning up.

Let me know if you have any issues!

Jason

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Hello
    I do not upload the version Ardupilot 2_6, I have an error message (see file joint).
    by-against I upload well the version Ardupilot 2_5 without problem.
    why?
    DODY
    PS: I post also the version Ardupilot 2_6 which I upload.

    Ardupilot_2_6.docx

    ArduPilot_2_6.rar

  • I seem to be the negative nelly around here lately.....

    I have been having problems with no throttle in AUTO mode. Manual is fine, FBW is fine. I started reading posts, and saw the pin 11 switch.

    I did the switch, and it's still intermittent for me. On my first startup today, no throttle in AUTO. I unplugged, restarted, and AUTO had throttle on the ground. Good to go.

    I hucked her in the air, testing trim in manual and then turns in FBW, then when switched to AUTO in the air, there was no throttle response from AP.

    This is the version of code that I'm running.


    This is my setting in the header file.

    #define THROTTLE_PIN 11 // pin 13, or pin 11 only (13 was old default, 11 may be a better choice for most people)

    This is the bottom of my board. (I had to switch to channel 4 throttle)

    ca7d4a8d.jpg


    Here's a section of log file with GCS_PROTOCOL 1 (does anyone have a schema for the output lines?)

    You can see the speed drop off, and not recover.

    ###AUTO 5***
    +++-1.0351799726,3,4,15.2069892883,20,-5,317,-42,307,125,0,1
    +++-6.4317603111,6,17,15.9597053527,20,-5,317,-42,307,125,0,1
    +++-10.0032005310,5,23,13.7645406723,20,-1,317,-42,307,125,0,1
    !!!LAT:32260146,LON:-110823519,SPD:10.5299997329,CRT:0.0000000000,ALT:847,ALH:808,CRS:304,BER:317,WPN:1,DST:231,BTV:0.0000000000,RSP:-0.1029024004,TOW:142560250,***
    +++-10.9857606887,4,24,11.2095613479,20,3,317,-42,304,126,0,1
    +++-6.7353601455,7,19,7.5313200950,20,8,317,-42,304,126,0,1
    +++-4.1685600280,7,14,5.1451201438,20,12,317,-42,304,127,0,1
    +++-1.8391199111,7,10,4.6853404045,20,12,317,-42,304,127,0,1
    !!!LAT:32260161,LON:-110823574,SPD:10.5600004196,CRT:0.0000000000,ALT:847,ALH:808,CRS:301,BER:317,WPN:1,DST:228,BTV:0.0000000000,RSP:-0.0155207991,TOW:142560750,***
    +++0.2352750539,7,6,6.1112399101,20,10,317,-42,301,126,0,1
    +++1.0747238397,6,4,5.3016939163,20,11,317,-42,301,125,0,1
    !!!LAT:32260171,LON:-110823601,SPD:10.2100000381,CRT:0.0000000000,ALT:848,ALH:808,CRS:300,BER:317,WPN:1,DST:228,BTV:0.0000000000,RSP:0.0097509384,TOW:142561000,***
    +++-1.6540311813,6,9,6.9970946311,20,8,318,-41,300,125,0,1
    +++-2.7720000743,10,15,6.9218244552,20,9,318,-41,300,125,0,1
    !!!LAT:32260180,LON:-110823624,SPD:9.2899999618,CRT:0.0000000000,ALT:848,ALH:808,CRS:300,BER:318,WPN:1,DST:217,BTV:0.0000000000,RSP:-0.0345095992,TOW:142561250,***
    +++-6.5421600341,9,20,9.3652048110,20,5,318,-41,300,126,0,1
    +++-7.9111204147,8,22,8.8730545043,20,6,319,-40,300,127,0,1
    !!!LAT:32260190,LON:-110823644,SPD:8.4899997711,CRT:0.0000000000,ALT:849,ALH:808,CRS:300,BER:319,WPN:1,DST:214,BTV:0.0000000000,RSP:-0.0800496006,TOW:142561500,***
    +++-9.8210411071,8,25,9.9847345352,20,5,319,-40,300,126,0,1
    +++-10.4448003768,8,26,9.4173145294,20,6,319,-40,300,125,0,1
    !!!LAT:32260200,LON:-110823663,SPD:8.0600004196,CRT:0.0000000000,ALT:849,ALH:808,CRS:300,BER:319,WPN:1,DST:214,BTV:0.0000000000,RSP:-0.1035095930,TOW:142561750,***
    +++-9.4236001968,7,23,11.2816944122,20,2,319,-40,300,125,0,1
    +++-7.3756804466,8,21,10.8474445343,20,3,319,-40,300,125,0,1
    !!!LAT:32260209,LON:-110823681,SPD:7.5199999809,CRT:0.0000000000,ALT:849,ALH:808,CRS:300,BER:319,WPN:1,DST:209,BTV:0.0000000000,RSP:-0.0698927974,TOW:142562000,***
    +++-5.2946400642,7,16,12.2949447631,20,0,319,-40,300,126,0,1
    +++-2.7940797805,7,12,11.9185943603,20,0,319,-40,300,127,0,1
    +++-0.7406399250,8,9,13.0650138854,20,-1,319,-40,300,127,0,1
    !!!LAT:32260220,LON:-110823697,SPD:7.9899997711,CRT:0.0000000000,ALT:849,ALH:808,CRS:300,BER:319,WPN:1,DST:207,BTV:0.0000000000,RSP:-0.0064679994,TOW:142562250,***
    +++-0.7130399227,8,9,16.2726745605,20,-7,319,-40,300,127,0,1
    +++-1.6295249462,8,11,17.0195846557,20,-8,319,-40,300,126,0,1
    !!!LAT:32260232,LON:-110823715,SPD:8.1800003051,CRT:0.0000000000,ALT:849,ALH:808,CRS:302,BER:319,WPN:1,DST:204,BTV:0.0000000000,RSP:-0.0192367496,TOW:142562500,***
    +++-2.7278213500,8,13,19.3240051269,20,-12,319,-40,302,125,0,1
    +++-3.5303962230,8,14,18.7106132507,20,-11,319,-40,302,125,0,1
    !!!LAT:32260242,LON:-110823727,SPD:7.2399997711,CRT:0.0000000000,ALT:849,ALH:808,CRS:303,BER:319,WPN:1,DST:204,BTV:0.0000000000,RSP:-0.0382928609,TOW:142562750,***
    +++-5.8329567909,7,17,20.2851467132,20,-13,319,-40,303,126,0,1
    +++-6.3864564895,6,17,19.5729751586,20,-12,319,-40,303,125,0,1
    !!!LAT:32260251,LON:-110823742,SPD:7.2300000190,CRT:0.0000000000,ALT:849,ALH:808,CRS:304,BER:319,WPN:1,DST:200,BTV:0.0000000000,RSP:-0.0648055124,TOW:142563000,***
    +++-7.7591366767,6,19,20.7309761047,20,-13,319,-40,304,125,0,1
    +++-8.0987997055,5,20,19.7177257537,20,-12,320,-39,304,125,0,1
    !!!LAT:32260261,LON:-110823758,SPD:6.9400000572,CRT:0.0000000000,ALT:849,ALH:808,CRS:305,BER:320,WPN:1,DST:197,BTV:0.0000000000,RSP:-0.0829199981,TOW:142563250,***
    +++-9.2469606399,5,22,20.3488368988,20,-13,320,-39,305,125,0,1
    +++-9.8044805526,5,22,19.4166336059,20,-11,320,-39,305,125,0,1
    !!!LAT:32260271,LON:-110823775,SPD:6.9400000572,CRT:0.0000000000,ALT:848,ALH:808,CRS:306,BER:320,WPN:1,DST:197,BTV:0.0000000000,RSP:-0.0989832019,TOW:142563500,***
    +++-11.2120809555,5,24,20.3686523437,20,-12,320,-39,306,126,0,1
    +++-9.9122505187,4,22,19.4862937927,20,-11,320,-39,306,126,0,1
    +++-7.9805364608,4,18,19.4448013305,20,-11,320,-39,306,126,0,1


    Tips are appreciated, if there's anything I can do to help, let me know....thanks!

    JC
  • Just got in from flying. Two thumbs up for switching to pin 11! No intermittent throttle and throttle came up on every launch.

    Thanks!
  • Moderator
    Jason,

    Will this have any effect on those using the Shield V2?
  • Just for my own knowledge... what will be the difference electronically if I switch from 13 to 11? About one out of every 10 flights I have a no throttle situation when I switch from manual. Sounds like this might be a solution.
  • Hi Jason, does this include the NMEA parser work that Happy Killmore has been working on in this RC groups thread?

    thanks
    Jim
    RC Groups - View Single Post - ArduPilot, ArduShield v2, ArduIMU v2, Remzibi OSD with NMEA GPS (Tut…
    RC Groups - the most active Radio Control model community: electric and fuel rc airplanes,rc helis,rc boats and rc cars. Features discussion forums,…
  • Developer
    Jason, thanks for update.

    When testing new Fail Safe mode, I needed to check my Radio_Limits, it wouldn't compile?

    I needed to comment out a line under radio tab, in function:

    #if SET_RADIO_LIMITS ==1:
    void read_radio_limits()
    ....

    delay(40);
    // read_analogs //mjc not defined compile error: #if SET_RADIO_LIMITS ==1:
    read_radio();

    It compiles OK now, but this may not be the proper fix..

    It detects and sets sets channel limits just fine.
  • Developer
    Hi Jason,

    Noticed you have been doing a lot of 2.6 support lately. Thank you!
  • Moderator
    Jason,

    Kudos on this fix!! Your help earlier today finally fixed my throttle issue! It may be a minor update but it has a major impact if your throttle isn't functional! You rock!
This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…