Commit Graph

2944 Commits

Author SHA1 Message Date
Jason Short a8af509517 timer set to unsigned 2012-01-04 17:31:20 -08:00
Michael Oborne 53e4880cc1 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2012-01-05 07:51:33 +08:00
Michael Oborne 5d5800ee1f fix relay on apm 1 AP 2012-01-05 07:51:01 +08:00
Andrew Tridgell 600a5680f8 ACM: reset all I terms on gyro calibration 2012-01-05 10:15:14 +11:00
Andrew Tridgell a6808162d6 ACM: fixed a warning
comment out some unused debug code
2012-01-05 10:14:53 +11:00
Andrew Tridgell 734b0a02be ACM: fixed a alt hold bug
== instead of =
2012-01-05 10:14:30 +11:00
Andrew Tridgell 3c965ff1a2 ACM: fixed a signed/unsigned warning 2012-01-05 10:14:12 +11:00
Andrew Tridgell 9ee3431928 ACM-simple: don't use uninitialised simple trig values 2012-01-05 10:13:36 +11:00
Jason Short 782fbc2d38 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 827955dc6e Looking for larger than 255 numbers 2012-01-04 09:51:36 -08:00
Jason Short 8341a080ce Disabled stable mode wind comp by default for release 2012-01-04 09:28:38 -08:00
Jason Short 5aa0861ec2 Added Xplane output option 2012-01-04 09:28:38 -08:00
Jason Short 6b9d35cc34 Added home offset for altitude 2012-01-04 09:28:38 -08:00
Jason Short f74e265bb9 Made landing disarm the motors 2012-01-04 09:28:38 -08:00
Jason Short 3ac37c09a9 Upped Revision 2012-01-04 09:28:38 -08:00
Jason Short a70fdc58a1 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 123ce533bb Added precalc for wind compensation when entering Stabilze mode 2012-01-04 09:28:37 -08:00
Jason Short bf8e3975ec 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 6b3094e053 removed PM test field 1 - not needed 2012-01-04 09:28:37 -08:00
Jason Short 7858976407 removed unused vars 2012-01-04 09:28:37 -08:00
Jason Short 22c3853020 removed unused vars 2012-01-04 09:28:37 -08:00
Jason Short e5994c578a removed unused vars 2012-01-04 09:28:37 -08:00
Jason Short 3d7f3f6b77 removed unused var 2012-01-04 09:28:37 -08:00
Jason Short 8d63af2a89 removed airspeed 2012-01-04 09:28:37 -08:00
Jason Short a1c3ce88a0 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 e6887aa3ec 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 dd4b4c723a removed airspeed 2012-01-04 09:28:37 -08:00
Jason Short f6e268395f allows main code to manually set the integrator value 2012-01-04 09:28:36 -08:00
Jason Short 7bef298a46 cleanup - removed unused functions, made pressure reading Float to avoid extra cast 2012-01-04 09:28:36 -08:00
Jason Short d7f4328441 cosmetic 2012-01-04 09:28:36 -08:00
Jason Short 1883d0c1a8 Added takeoff state and ground state variable 2012-01-04 09:28:36 -08:00
Jason Short c629795050 Cosmetic 2012-01-04 09:28:36 -08:00
Jason Short 801b3a8e8f removed unused Airspeed config 2012-01-04 09:28:36 -08:00
Jason Short fcd18d5538 Removed unused options 2012-01-04 09:28:36 -08:00
Jason Short 525ac4df88 Cosmetic 2012-01-04 09:28:36 -08:00
Jason Short c450cc4e92 removed unused Airspeed config 2012-01-04 09:28:36 -08:00
Jason Short 4a50e08ac1 change how Reset Nav params work - no longer clear I terms 2012-01-04 09:28:36 -08:00
Jason Short fe265b3040 Added JLN's landing patch, moved some variables local such as Jump counter 2012-01-04 09:28:36 -08:00
Jason Short 5de709ceea removed unused functions 2012-01-04 09:28:36 -08:00
Andrew Tridgell 9833636500 pysim: support octax 2012-01-04 22:15:17 +11:00
Andrew Tridgell b9b0aa4a81 autotest: change to an octa frame for autotest
this will be a useful experiment
2012-01-04 22:03:37 +11:00
Andrew Tridgell 45efb174e5 autotest: fix for new sim_multicopter.py command 2012-01-04 21:49:19 +11:00
Andrew Tridgell 5317e47e2d pysim: added more frame types 2012-01-04 21:45:58 +11:00
Andrew Tridgell 54b91ce2f4 sitl: added build targets for different ACM frames 2012-01-04 21:45:46 +11:00
Andrew Tridgell d6ccffc71b 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 1da04837ca pysim: accept frame type in sim_arducopter.sh 2012-01-04 19:34:28 +11:00
Andrew Tridgell e4ae5ffd0e pysim: show frame type at startup 2012-01-04 19:34:11 +11:00
Andrew Tridgell f395e8e36d rename sim_quad.py to sim_multicopter.py 2012-01-04 19:14:42 +11:00
Andrew Tridgell bc49573b4c pysim: added --frame option 2012-01-04 19:13:47 +11:00
Andrew Tridgell f4d7e108fa pysim: generalise the quadcopter code for multicopters
this allows for arbitrary multicopter motor arrangements
2012-01-04 19:13:15 +11:00