Commit Graph

2944 Commits

Author SHA1 Message Date
Jason Short 20661e5020 timer set to unsigned 2012-01-04 17:31:20 -08:00
Michael Oborne 1b8c6990d1 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2012-01-05 07:51:33 +08:00
Michael Oborne e1a544cc78 fix relay on apm 1 AP 2012-01-05 07:51:01 +08:00
Andrew Tridgell df81a9459a ACM: reset all I terms on gyro calibration 2012-01-05 10:15:14 +11:00
Andrew Tridgell 2913948520 ACM: fixed a warning
comment out some unused debug code
2012-01-05 10:14:53 +11:00
Andrew Tridgell c1c3115b42 ACM: fixed a alt hold bug
== instead of =
2012-01-05 10:14:30 +11:00
Andrew Tridgell 92f9c0b648 ACM: fixed a signed/unsigned warning 2012-01-05 10:14:12 +11:00
Andrew Tridgell 596a1f43f4 ACM-simple: don't use uninitialised simple trig values 2012-01-05 10:13:36 +11:00
Jason Short 193848cea6 thought the commented out function was too cool to loose, but not using it now
changed the WP index number
2012-01-04 09:52:25 -08:00
Jason Short fa2d84e557 Looking for larger than 255 numbers 2012-01-04 09:51:36 -08:00
Jason Short 3cf77729ef Disabled stable mode wind comp by default for release 2012-01-04 09:28:38 -08:00
Jason Short 28262dd825 Added Xplane output option 2012-01-04 09:28:38 -08:00
Jason Short 467ef66a77 Added home offset for altitude 2012-01-04 09:28:38 -08:00
Jason Short 40c649a27b Made landing disarm the motors 2012-01-04 09:28:38 -08:00
Jason Short ed1ff0b171 Upped Revision 2012-01-04 09:28:38 -08:00
Jason Short 76cfdca6cc Cleaned up and documented each global vavriable
Added Wind compensation for Stability
Acro mode fixes
2012-01-04 09:28:37 -08:00
Jason Short 2e83e42764 Added precalc for wind compensation when entering Stabilze mode 2012-01-04 09:28:37 -08:00
Jason Short e36d2f6e96 Added Wind compensation for Stabilize
moved speed calc to it's own function
decreased acceleration from WPs
2012-01-04 09:28:37 -08:00
Jason Short fe8c99c49b removed PM test field 1 - not needed 2012-01-04 09:28:37 -08:00
Jason Short a2c8f5af15 removed unused vars 2012-01-04 09:28:37 -08:00
Jason Short de6325fb8a removed unused vars 2012-01-04 09:28:37 -08:00
Jason Short cf9e744ed2 removed unused vars 2012-01-04 09:28:37 -08:00
Jason Short 8ed2d96396 removed unused var 2012-01-04 09:28:37 -08:00
Jason Short 59f22f0ca0 removed airspeed 2012-01-04 09:28:37 -08:00
Jason Short ecb3241489 calc_wind_compensation called when exiting AP modes
Rate I terms reset in Acro Mode switch
Limit of 1 m set to alt hold
Reset circle angle to 0 by default
Land got land_complete var set to false by default
2012-01-04 09:28:37 -08:00
Jason Short 4e0e783e7c added Reset_Rate_I function
Removed I term from Throttle rate calc
Added some basic constrains to Acro
2012-01-04 09:28:37 -08:00
Jason Short b8c0bdb66f removed airspeed 2012-01-04 09:28:37 -08:00
Jason Short d0af95f0e3 allows main code to manually set the integrator value 2012-01-04 09:28:36 -08:00
Jason Short 92eece79a4 cleanup - removed unused functions, made pressure reading Float to avoid extra cast 2012-01-04 09:28:36 -08:00
Jason Short e1232e7b80 cosmetic 2012-01-04 09:28:36 -08:00
Jason Short e7b750074b Added takeoff state and ground state variable 2012-01-04 09:28:36 -08:00
Jason Short 37cda3c364 Cosmetic 2012-01-04 09:28:36 -08:00
Jason Short 2fc6a645b4 removed unused Airspeed config 2012-01-04 09:28:36 -08:00
Jason Short b28ae04e0d Removed unused options 2012-01-04 09:28:36 -08:00
Jason Short 6513b12eb2 Cosmetic 2012-01-04 09:28:36 -08:00
Jason Short 67bf991598 removed unused Airspeed config 2012-01-04 09:28:36 -08:00
Jason Short c7b5b747e8 change how Reset Nav params work - no longer clear I terms 2012-01-04 09:28:36 -08:00
Jason Short 580ad2c5ce Added JLN's landing patch, moved some variables local such as Jump counter 2012-01-04 09:28:36 -08:00
Jason Short c0c2ea4ebb removed unused functions 2012-01-04 09:28:36 -08:00
Andrew Tridgell 2a3d4efb38 pysim: support octax 2012-01-04 22:15:17 +11:00
Andrew Tridgell 64b541037e autotest: change to an octa frame for autotest
this will be a useful experiment
2012-01-04 22:03:37 +11:00
Andrew Tridgell efa649e51a autotest: fix for new sim_multicopter.py command 2012-01-04 21:49:19 +11:00
Andrew Tridgell 9df96d0e07 pysim: added more frame types 2012-01-04 21:45:58 +11:00
Andrew Tridgell ca39fc8b47 sitl: added build targets for different ACM frames 2012-01-04 21:45:46 +11:00
Andrew Tridgell 9d1c4ecfcd ACM: don't set defaults in APM_Config.h
defaults set here prevent Makefile overrides, which breaks autotest
for non-default frame types
2012-01-04 19:35:05 +11:00
Andrew Tridgell eab1ae59d0 pysim: accept frame type in sim_arducopter.sh 2012-01-04 19:34:28 +11:00
Andrew Tridgell 45b4e07776 pysim: show frame type at startup 2012-01-04 19:34:11 +11:00
Andrew Tridgell ed5c9d4c47 rename sim_quad.py to sim_multicopter.py 2012-01-04 19:14:42 +11:00
Andrew Tridgell ba9423f7de pysim: added --frame option 2012-01-04 19:13:47 +11:00
Andrew Tridgell 1670f1f65b pysim: generalise the quadcopter code for multicopters
this allows for arbitrary multicopter motor arrangements
2012-01-04 19:13:15 +11:00