Commit Graph

2196 Commits

Author SHA1 Message Date
Andrew Tridgell 28634f51b7 ArduCopter: use specific sized data types in a lot of places
this will make the Desktop build more consistent with the real AVR
build, and also with a future ARM build
2011-11-08 11:05:36 +11:00
Andrew Tridgell 0f3c21821a barometer: fixed a build warning 2011-11-08 11:05:36 +11:00
Jason Short 6bf0c32173 Removed some old debug prints from motors.pde
added ability to not increment I term for traversals.
2011-11-07 14:32:39 -08:00
Andrew Tridgell 122e09323c autotest: fixed home altitude for CMAC 2011-11-08 08:14:46 +11:00
Andrew Tridgell 3176d4ffc5 HIL: enable CTUN log message in ATTITUDE HIL 2011-11-08 07:58:35 +11:00
Andrew Tridgell 92471aead2 Log: better way to check for -1 long portably 2011-11-08 07:58:34 +11:00
Jason Short 0446cae242 Alt hold fix 2011-11-07 12:00:37 -08:00
Andrew Tridgell c7ac328613 autotest: dump all logs 2011-11-07 23:56:59 +11:00
Andrew Tridgell 2bd451b445 Log: make find_last_log_page() portable
this makes it work with platforms with a larger 'long'
2011-11-07 23:50:49 +11:00
Andrew Tridgell c1dad23679 autotest: fill flash with 0xff on erase 2011-11-07 23:42:18 +11:00
Andrew Tridgell 8c5873564b autotest: dump all GPS points, even if fix==0
for some reason HIL gives fix 0 sometimes
2011-11-07 22:57:32 +11:00
Andrew Tridgell c750f85280 autotest: enable dumping of DataFlash logs at end of test 2011-11-07 22:56:13 +11:00
Andrew Tridgell 3b48389efe Desktop: added -w option to wipe eeprom and dataflash 2011-11-07 22:56:13 +11:00
Andrew Tridgell ae1e1c940f Log: fixed a bug where we could index outside an array
when we first start up, num_existing_logs may be zero
2011-11-07 22:56:13 +11:00
Andrew Tridgell da800a295f Desktop: added support for DataFlash in Desktop build
this will allow Jason to look at the logs of the quad sim
2011-11-07 22:56:13 +11:00
Andrew Tridgell 580139c6e4 digital.c for CLI 2011-11-07 22:56:13 +11:00
Andrew Tridgell cfe058c5d5 DataFlash: use CPU independent data types
this ensures that the DataFlash API is consistent for different CPU
architectures, which matters for the Desktop build, and will matter
for ARM and other CPUs later
2011-11-07 22:56:13 +11:00
Andrew Tridgell 94f0e8a4a3 Desktop: enable the CLI in desktop build
this gives access to the CLI menus. You can start the SIL with the -s
switch to set the slider position to CLI
2011-11-07 22:56:13 +11:00
Andrew Tridgell b927e64440 desktop: fixed 2 crashes in the menu code
handle an empty line gracefully, and use pgm_read_pointer() for
functions pointers in progmem
2011-11-07 22:56:13 +11:00
Andrew Tridgell d78bbb1a40 added pgm_read_pointer()
this will be used by the menu code to make reading pointers from
progmem portable
2011-11-07 22:56:13 +11:00
Andrew Tridgell 469b8586ca autotest: started adding tests for required tools
try to give useful error messages
2011-11-07 22:56:13 +11:00
Jason Short 3a37e7fe60 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-11-06 22:46:57 -08:00
Jason Short a37fadbedb moved to 200hz update
Zccel Z updates from Aurelio in attitude.pde
lowered baro_alt sanity check
moved user hooks to the medium 10hz loop.
2011-11-06 22:46:39 -08:00
Jason Short d1431f1070 default top_bottom ratio 1.0 2011-11-06 22:45:07 -08:00
Jason Short 3153257d37 default top_bottom ratio 1.0 2011-11-06 22:43:49 -08:00
Jason Short 4bb0bf96ae Y6 Motors now have top bottom ratio 2011-11-06 22:42:59 -08:00
Andrew Tridgell 251cf7d87c force LANG=C for MacOS awk 2011-11-07 13:33:38 +11:00
unknown 9c59fdfdd6 AltHold - another correction to the manual boost. Hopefully properly transferring building up I terms to g.throttle_cruise 2011-11-06 19:06:13 +08:00
unknown 32057fb3c9 AltHold - made TradHeli code also use manual_boost 2011-11-06 18:25:13 +08:00
unknown 755cb4b201 Altitude hold bug fix - changed g.throttle_cruise to be updated to steal I term from correct controller 2011-11-06 17:47:24 +08:00
unknown 156b496bab TradHeli - small change to make throttle_cruise in terms of radio input instead of servo output 2011-11-06 17:40:17 +08:00
unknown f1e626e3c1 TradHeli - changed deadzones for throttle to zero (and also reduced for yaw) 2011-11-06 17:37:59 +08:00
Doug Weibel e3ab1b0353 Add an accessor for the DCM drift correction integrator to monitor performance
Also made the get_health accessor an inline function.
2011-11-05 09:02:23 -06:00
Doug Weibel 947950398c Changed the DCM drift correction integrator limit to a vector magnitude of 30 degrees/second.
The drift correction integrator limit previously was near/at the gyro saturation limit.  If we have that much drift there is a serious hardware problem.  30 degrees/second is arbitrary but should handle all temperature variation, etc.
2011-11-05 09:01:20 -06:00
Doug Weibel c7077fa9e8 In case of DCM renorm "blow-up" reset the drift correction integrators
This should aid in recovery if we loose the AHRS solution and have to force to initial orientation.  Also removed some old commented out code moved to the IMU object
2011-11-05 08:59:16 -06:00
Jason Short c265555b69 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-11-04 21:42:10 -07:00
Jason Short c8304114a3 renamed some command variables to align with Arduplane
reworked the arming code and moved the DCM gains out.
updated climb_rate to include sonar data.
2011-11-04 21:41:51 -07:00
unknown 12f5f3f96e TradHeli - fix to allow tail servo to be reversed. Also increase max movement of tail servo to 45 degrees. 2011-11-05 12:31:30 +08:00
Andrew Tridgell 3aee902be1 fixed permissions of valgrind log file 2011-11-04 10:05:40 +11:00
Andrew Tridgell 6e72c88a83 autotest: run SIL binary under valgrind
this lets us find uninitialised variables in the APM code, and other
common C/C++ errors
2011-11-04 10:00:06 +11:00
Michael Oborne 5bda22b805 APM Planner 1.0.89
new camera button in flight planner
misc other
2011-11-03 08:13:27 +08:00
Jason Short 3f211121fe Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-11-01 21:18:56 -07:00
Jason Short 27fc6eea10 Z dampener
Integrated Aurelio R. Ramos' Z dampening code.
2011-11-01 21:18:47 -07:00
James Goppert 8058154f61 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-11-01 21:58:10 -04:00
Andrew Tridgell 40c87dd295 fixed home location 2011-11-02 10:26:24 +11:00
Andrew Tridgell b6dcfa416b autotest: a complete mission now flies
with the TCP buffering fixed, the mission flies quite well with standard parameters
2011-11-02 09:38:44 +11:00
Andrew Tridgell e7671178b3 desktop: fixed TCP buffering issue with HIL
the TCP layer was buffering the servo updates, which caused very poor HIL flight
2011-11-02 09:38:44 +11:00
Andrew Tridgell 19d5e983ba autotest: fixed path to SIL binary 2011-11-02 09:38:44 +11:00
Andrew Tridgell acc03753ab fixed HIL build 2011-11-02 08:14:07 +11:00
Simon Salykov 04d4aa4310 Obstacle avoidance moved from AP_Guide to ControllerCar (works only for cars for now), algorithm changed
New feature Forward/Reverse in Controller Car
Misc bug fixes in ControllerCar
2011-11-01 19:09:57 +01:00