Good post....thanks for sharing.. very useful for me i will bookmark this for my future needed. thanks for a great source.Seeing all the above comments though, maybe I might have to keep looking.GPS
Hello Jordi and Jason,
I have now updated the v2.4.4 (Self-Learning mode version), this is now the v2.4.5 : The reset of the wplist is done automaticaly in flight, during the first wp record. So, the step B is not required and the motor wont' turn...
The latest version v2.4.5 can be downloaded here : http://code.google.com/p/ardupilotdev/downloads/list
Regards,
Jean-Louis
The new code i'm working on has a new feature you way want to include:
If you reconnect the bind plug after initializing it will disable the throttle for security... So you can switch to autopilote without turning on the motor. Just remove it before flaying. ;-)
I have just released a new version (the v2.4.4) of my ArduPilot. This new version contains a very interesting feature: THE SELF LEARNING MODE....
This new feature is very usefull in the field, because you don't need to have an internet connection (google map) or a PC computer to create yourself a customized waypoints list, your ArduPilot will be able to Self-Learn its own flight plan in flight !!!
The Self-Learning mode works only on the version 2.4.4 (the JLN personnal version) ONLY.
Now, I explain you how to record IN FLIGHT a flight plan to your ArduPilot UAV.
A) LEANING MODE :
-----------------
PRE-LAUNCH:
----------
A-1) The transmitter must be switched ON and the control button set in MANUAL MODE,
A-2) The "Remove Before Flight" (RBF) jumper must be connected,
A-3) Connect the Lipo battery to the ESC of your plane,
A-4) Wait the GPS-Fix (the blue led goes fix) and the Ailerons/Rudder moves quickly,
A-5) Remove the RBF,
A-6) Then RECONNECT THE RBF.
Your ArduPilot is now ready to Self-Learn your flight plan.
B) Just before the launch : You need to erase the previous stored flight plan before to learn a new one.
-------------------------
B-1) Hang your plane (be carefull of the propeller) then turn the control button of your transmitter from MANUAL MODE TO WAYPOINT MODE (the middle position by default) then quickly back to the MANUAL MODE again.
The propeller will start few seconds during this step.
Now, the previous flight plan has been erased in the Eeprom memory of the ArduPilot.
C) RECORDING THE FLIGHT PLAN :
-----------------------------
C-1) The control button must be set in MANUAL MODE. Launch you plane and fly, when you want to record a waypoint, you simply need to turn the control button of your transmitter from MANUAL MODE TO WAYPOINT MODE (the middle position) then quickly back to the MANUAL MODE again. The plan will move quickly the ailerons to point you that the WP has been recorded...
So, you may record all the 3D Waypoints (lat, lon, alt) that you desire...
When all the flight plan has been recorded during your flight, land your plane.
D) REPLAYING YOUR FLIGHT PLAN
-----------------------------
D-1) Disconnect the Lipo Battery
D-2) The RBF jumper is still in place on the ArduPilot and the transmitter ON and set in Manual mode,
D-3) Connect a new charged Lipo Battery
D-4) Wait for the GPS fix (the blue led fix and the quick motion of the servos)
D-5) REMOVE THE RBF jumper,
D-6) Launch your plane and now, you may run the recorded flight plan when you want by only turn the control button to WAYPOINT MODE....
Thanks for your comments, I haven't yet tested the no rudder version but for a well coordinated turn, I recommend strongly to use the mixing with the ailerons and the rudder (with a simple 3-Y) as mentionned in the diagram above.
Congratulations on your progress and thank you for publishing documentation.
Have you tested the ardupilot connected to the EZ glider's elevator and ailerons only (no rudder)?
Air Speed offset bug now corrected. During some tests flights with the original v2.4, I have noticed that the measured Air Speed was a bit crazy and the ASP was -288 on the ground before de launch !!!
This was due to a bad calibration process of the air speed sensor input (analog3) during the initialisation phase. So, I have corrected this in the v2.4.3, see the result below :
Below the latest improvements since the original v2.4 :
// Last Update : 11-08-09
//
// Added starting_wp = 1
// Added GPS: gpsfix status for telemetry (System tab )
// Added WPT: current_wp for telemetry (System tab )
// Added HappyKillmore code for GPS Emulator (GPS_EMUL tab)
// Added Get_Home_Position(void) -> stored into : home_lon, home_lat, home_alt (see Waypoint tab)
// Added A-1 GPS_PROTOCOL 3 in the easyglider24.h header file for GPS Emulator
// Added Save_Home_Position(void) -> to store the virtual home postion and alt for the GPS Emulator (see System tab)
// Correction of the air_speed_offset bug which gives -289 (!!!) of airspeed...( Sensors tab )
// Air_speed_offset bug now corrected, added zasp_req=1 a request flag for Zero Air Speed bias during the catch_analogs Mux
Hello to All,
You will find my latest developpements about the ArduPilot v2.4.1 cited above. This new release is able to runs with the GPS Emulator v1.1.45 and contains some improvements.
Comments
I have now updated the v2.4.4 (Self-Learning mode version), this is now the v2.4.5 :
The reset of the wplist is done automaticaly in flight, during the first wp record. So, the step B is not required and the motor wont' turn...
The latest version v2.4.5 can be downloaded here : http://code.google.com/p/ardupilotdev/downloads/list
Regards,
Jean-Louis
The new code i'm working on has a new feature you way want to include:
If you reconnect the bind plug after initializing it will disable the throttle for security... So you can switch to autopilote without turning on the motor. Just remove it before flaying. ;-)
I have just released a new version (the v2.4.4) of my ArduPilot. This new version contains a very interesting feature: THE SELF LEARNING MODE....
This new feature is very usefull in the field, because you don't need to have an internet connection (google map) or a PC computer to create yourself a customized waypoints list, your ArduPilot will be able to Self-Learn its own flight plan in flight !!!
The Self-Learning mode works only on the version 2.4.4 (the JLN personnal version) ONLY.
You will find this update at : http://code.google.com/p/ardupilotdev/downloads/list
Now, I explain you how to record IN FLIGHT a flight plan to your ArduPilot UAV.
A) LEANING MODE :
-----------------
PRE-LAUNCH:
----------
A-1) The transmitter must be switched ON and the control button set in MANUAL MODE,
A-2) The "Remove Before Flight" (RBF) jumper must be connected,
A-3) Connect the Lipo battery to the ESC of your plane,
A-4) Wait the GPS-Fix (the blue led goes fix) and the Ailerons/Rudder moves quickly,
A-5) Remove the RBF,
A-6) Then RECONNECT THE RBF.
Your ArduPilot is now ready to Self-Learn your flight plan.
B) Just before the launch : You need to erase the previous stored flight plan before to learn a new one.
-------------------------
B-1) Hang your plane (be carefull of the propeller) then turn the control button of your transmitter from MANUAL MODE TO WAYPOINT MODE (the middle position by default) then quickly back to the MANUAL MODE again.
The propeller will start few seconds during this step.
Now, the previous flight plan has been erased in the Eeprom memory of the ArduPilot.
C) RECORDING THE FLIGHT PLAN :
-----------------------------
C-1) The control button must be set in MANUAL MODE. Launch you plane and fly, when you want to record a waypoint, you simply need to turn the control button of your transmitter from MANUAL MODE TO WAYPOINT MODE (the middle position) then quickly back to the MANUAL MODE again. The plan will move quickly the ailerons to point you that the WP has been recorded...
So, you may record all the 3D Waypoints (lat, lon, alt) that you desire...
When all the flight plan has been recorded during your flight, land your plane.
D) REPLAYING YOUR FLIGHT PLAN
-----------------------------
D-1) Disconnect the Lipo Battery
D-2) The RBF jumper is still in place on the ArduPilot and the transmitter ON and set in Manual mode,
D-3) Connect a new charged Lipo Battery
D-4) Wait for the GPS fix (the blue led fix and the quick motion of the servos)
D-5) REMOVE THE RBF jumper,
D-6) Launch your plane and now, you may run the recorded flight plan when you want by only turn the control button to WAYPOINT MODE....
Enjoy,
Best Regards,
Jean-Louis Naudin
Thanks for your comments, I haven't yet tested the no rudder version but for a well coordinated turn, I recommend strongly to use the mixing with the ailerons and the rudder (with a simple 3-Y) as mentionned in the diagram above.
Today, I have just updated my easyglider header file with some new fine tuning about the heading gain.
Look at : http://code.google.com/p/ardupilotdev/downloads/list
Now, flight plan is played like a music sheet with this setup and with the v2.4.3..
Regards,
Jean-Louis
Have you tested the ardupilot connected to the EZ glider's elevator and ailerons only (no rudder)?
Air Speed offset bug now corrected. During some tests flights with the original v2.4, I have noticed that the measured Air Speed was a bit crazy and the ASP was -288 on the ground before de launch !!!
see below :
Ardupilot!!! V24
+++ASP:-288,THH:80,RLL:60,PCH:60,***
+++ASP:-288,THH:82,RLL:60,PCH:60,***
+++ASP:-288,THH:83,RLL:60,PCH:13,***
+++ASP:-286,THH:84,RLL:60,PCH:10,***
This was due to a bad calibration process of the air speed sensor input (analog3) during the initialisation phase. So, I have corrected this in the v2.4.3, see the result below :
Ardupilot!!! V2.4.3
+++ASP:0,THH:84,RLL:60,PCH:48,***
+++ASP:0,THH:84,RLL:60,PCH:33,***
+++ASP:0,THH:84,RLL:60,PCH:26,***
+++ASP:0,THH:84,RLL:60,PCH:18,***
You will find here : http://code.google.com/p/ardupilotdev/downloads/list
the latest version of the Ardupilot v2.4.3 and the header file for the Easyglider that I have used successfully this WE.
Below the latest improvements since the original v2.4 :
// Last Update : 11-08-09
//
// Added starting_wp = 1
// Added GPS: gpsfix status for telemetry (System tab )
// Added WPT: current_wp for telemetry (System tab )
// Added HappyKillmore code for GPS Emulator (GPS_EMUL tab)
// Added Get_Home_Position(void) -> stored into : home_lon, home_lat, home_alt (see Waypoint tab)
// Added A-1 GPS_PROTOCOL 3 in the easyglider24.h header file for GPS Emulator
// Added Save_Home_Position(void) -> to store the virtual home postion and alt for the GPS Emulator (see System tab)
// Correction of the air_speed_offset bug which gives -289 (!!!) of airspeed...( Sensors tab )
// Air_speed_offset bug now corrected, added zasp_req=1 a request flag for Zero Air Speed bias during the catch_analogs Mux
Regards,
Jean-Louis
You will find the tested header file for the ArduPilot v2.4.1 that I have tested with my Easyglider today on Nov 6, 2009 in windy condition at : http://ardupilotdev.googlecode.com/files/easyglider24.h
You need only to copy this file in the same folder than the main project file.
Below a photo taken today at a turning point in waypoint mode...
Best Regards,
Jean-Louis
Hello to All,
You will find my latest developpements about the ArduPilot v2.4.1 cited above. This new release is able to runs with the GPS Emulator v1.1.45 and contains some improvements.
The full source of the ArduPilot v2.4.1 can be downloaded here :
http://ardupilotdev.googlecode.com/files/ArduPilot_Easyglider_V241.zip
More updates will be soon posted at the main project "ardupilotdev" at:
http://code.google.com/p/ardupilotdev/
Best Regards,
Jean-Louis Naudin