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

  • Developer
    Hi Marco,
    I plotted your waypoints in the debug mode. Everything looks OK.

  • Jason
    I was going throut the startup procedures And had a question

    Ardupilot has a specific startup routine:

    Normal Power on
    confirmed Check the Remove Before Fly plug is connected
    Confirmed Twitch servos to indicated startup has begun
    Normal Begin looking for a GPS fix - Flash the blue LED until a fix
    Confirmed Set the Blue LED to solid to indicate a GPS fix
    Normal Twitch servos once
    Normal Calibrate Radio Trims (and optionally XY IR sensors)
    Confirmed Twitch servos until Remove before Fly pin is removed
    At this point the gps lock led goes out when i remove the RBF jumper.
    It should stay on correct?
    The EM406 test was good, and I have rechecked the gps config is set to 1

    Appears OK Save home location and flight settings to memory

    Also when using a spectrum DX5e with only a two position switch shoould a redefine position 2 or 3 or both for my second flight function?

    Nice work on 2.5 thank you.

    Jay
  • Developer
    Randy,
    I have ArduIMU v1 and hope to have it working with ArduPilot v1 (AT128) soon, but when switched to Waypoint mode Aileron servo go crazy and manual nudge is twitchy. I will also test MIX for Elevons as I hope to put this in my Stryker II, I will post results when it works...
  • Moderator
    I mentioned the blue LED behaviour in the beta thread - after plugging in my GPS (still using the old shield so have to unplug the GPS first before uploading) almost instantly there is the blue GPS lock LED however in the serial output it shows:
    !!!LAT:0,LON:0,SPD:0,CRT:0,ALT:-22,...

    eventually I do get the GPS output serially but the blue LED does go on when there is no actual GPS lock
  • Jason, Ok. But shouldn't led blue LED eventually go out if i looses lock?
    If I do a proper field setup and get sat lock it never goes off, even in the most impossible conditions.
    v246 turned of the light back and forth. Now I can't tell if i really have sat lock or not.
    Thanks for helping!
  • 3D Robotics
    Randy,

    ArduPilot Mega is a major new product and has a lot of people working on development. The code bases of ArduPilot, ArduIMU, the PPM decoder, GCS, ArduStation and other products are all going to be evolved for the product. The development you're seeing for our released products is creating a foundation for Mega, but this is not a simple matter of a port. We'll be announcing everything here when it's ready for beta testing.
  • Developer
    Perhaps it's been mentioned before but what's the plan for porting ArduPilot code to work with the new ArduPilotMega board? ..and in particular with ArduPilotMega with the IMU inplace of the IR Sensors?
  • Developer
    You are doing an "in-air" start. The GPS doesn't wait for lock when the pin is not there. It's too busy flying the plane.

    That behavior sound right. Two seconds after removing the GPS, your light will go out. If you loose GPS for longer than ten seconds, we assume the GPS has failed entirely and the plane will begin to loiter blindly.

    Jason
  • Ok, tried the new GPS-file and it compiled ok. But still no luck on the blue LED.
    If I power the board, with no jumper on, it lights upp (solid) after about 2 sec every time.
    If I remove the GPS, the light goes out as expected...
  • Developer
    Hi, That actually won't work.
    Try this version. GPS_EM406.pde.zip
This reply was deleted.