Developer

Ardupilot 2.5 Release Candidate

I was finally able to test 2.5 over the weekend and added a few tweaks to the code.
Here's what I hope is the final release.

As the new Manual gets formatted, you can view it at: http://code.google.com/p/ardupilot/wiki/ArduPilot25
Until the content is finally moved over the 2.4 manual is still a great resource.

Ardupilot_25_RC2.zip

Bonus - If you look check out the Waypoint_writer_25.pde file in the test suite, you can upload relative waypoints. This isn't supported in the config tool yet.

Jason


UPDATE -
A lot of people were having trouble with the GPS code and LEDs. I reworked the GPS parsers today to iron out some things. They were nothing that would interfere with flight, but I highly recommend using this new version. I've also added the ability to scale down your plane's roll based on airspeed. This should help planes that turn faster when they go slower. We may tweak this a bit in the future, so I'm looking for feedback on it. Note you can always turn it off in your header file with this line:
//6-4
#define AIRSPEED_TURN_P 1
see the header file for more instructions


E-mail me when people leave their comments –

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

Join diydrones

Comments

  • Jason, tried your last file, but got the same compile error.
    Then I declared GPS_timer in the Ardupilot_25rc-tab:
    static unsigned long GPS_timer = 0;
    it solved the comile error, but I still get the same behavior as described - solid blue LED, everywere.
  • Developer
    2.5.1 is not going to be ready for a while. It's not flyable at this moment.
  • 3D Robotics
    Nippy, no just stick with Jason's code on this one. (While you're waiting for him to fix that line, you can always declare the variable yourself for testing)
  • Jason, I replaced the file but got compile error:
    In function 'void GPS_join_data()':
    error: 'GPS_timer' was not declared in this scope In function 'void waypoint_event(byte)':


    Chris, I'm using the Ardupilot_2.5.0rc.zip ZIP-file from the top of this page.

    I see there's a v251 in the repository. Is it possibly fixed there?
    - Thanks!
  • 3D Robotics
    Nippy,

    I think Jason fixed that in the latest code rev. Are you using the most recent version?
  • Thanks for the update! It looks promising!

    I just loaded v2.5 on the board and did the needed modifications:

    #define SHIELD_VERSION -1 // I have no shield, just the red board
    #define GPS_PROTOCOL 1 // I've got the EM406 module

    I think there is something strange with the blue GPS FIX-LED (unless the led behavior hasn't changed now).

    1. I put the jumper on and start it up. The blue LED flashes until GPS lock. Then it goes solid.
    2. I do the radio setup and then reboot.
    3. Now, the blue led goes solid again - Everything seems to work!

    But, now I got suspicious. Even if I put the GPS module in a shielded metal box - there's still a solid blue LED.
    I'm testing inside my apartment and with v2.46 the blue LED would always go out if I got to far from the windows.
    With V2.5 I can't get it to turn off! ;-)

    I would be nice to always have a solid GPS-lock, but I think something is wrong.

    Am I missing something?
  • Developer
    Thanks,
    Could you also run this in the debug mode? I will do that tonight as well.
    Jason
  • Developer
    To setup the Futaba 7c you need to do two things.

    To set the control switch:
    1: End Position Menu:
    Set Ch5 to this:
    > 140% > 63%

    To setup the Failsafe:
    Set End Point of Ch3 to 140%
    1: End Position Menu:
    Set Ch3: to this:
    > 100% > 140%

    2: Failsafe Menu
    - Rotate the dial to F/S
    - Press and hold the dial to set it

    3: Return to End Position Menu:
    Set Ch3 back to this:
    > 100% > 100%
    Nothing to hide. Stay tuned.
  • 3D Robotics
    Ah, I was accidentally looking at code from last week. Glad to see that you anticipated my needs!

    Could post your PWM values for the Futaba 7C?
  • Developer
    Nice Jason,

    I hadn't noticed the change to do it in the header file. Great job on getting the code to this point!
This reply was deleted.