Commit Graph

7987 Commits

Author SHA1 Message Date
Andrew Tridgell 9e92a60cfa autotest: fixed dump of file based logs 2013-04-20 18:24:19 +10:00
Andrew Tridgell 02ed37e750 Plane: fixed APM1-1280 build 2013-04-20 18:21:19 +10:00
Randy Mackay 5fb8e47d74 .gitignore: added files commonly produced by autotest
moved some entries to put them in alphabetical order
2013-04-20 16:12:22 +09:00
Randy Mackay 745df9b13c Copter: add SONAR_GAIN to tune reaction to sonar
Some users report the response to sonar is too violent, this allows that
reaction to be reduced
2013-04-20 15:58:36 +09:00
Randy Mackay 50515e28e1 Copter: replace fabs with fabsf 2013-04-20 15:40:56 +09:00
Randy Mackay a53e5f747b Copter: add fourth yaw behaviour, look-at-home
Added get_wp_yaw_mode to remove duplication of checks of the
WP_YAW_BEHAVIOR parameter
2013-04-20 15:36:24 +09:00
Andrew Tridgell fb6b736c78 Rover: print mode as string in logs 2013-04-20 15:18:42 +10:00
Andrew Tridgell 02c3083f60 Copter: print flight mode as string 2013-04-20 15:18:22 +10:00
Andrew Tridgell 2e5834cc7f Plane: print flight mode as string in logs 2013-04-20 15:18:10 +10:00
Andrew Tridgell 844e1b9ef9 DataFlash: added support for printing flight mode as a string
makes analysing logs easier.

Pair-Programmed-With: Randy
2013-04-20 15:17:49 +10:00
Andrew Tridgell c3abdaf308 AP_GPS: removed duplicate print_latlon() 2013-04-20 13:57:59 +10:00
Andrew Tridgell ce3ee97e73 Copter: removed duplicate print_latlon() declarations 2013-04-20 13:57:45 +10:00
Andrew Tridgell b5ae588341 DataFlash_File: fixed creation of 0.log 2013-04-20 13:52:37 +10:00
Andrew Tridgell 93d075404c Copter: added board voltage to current message 2013-04-20 13:52:37 +10:00
Andrew Tridgell 735d60c493 DataFlash: convert example sketch to new API 2013-04-20 13:52:37 +10:00
Andrew Tridgell 62f190ed15 DataFlash: simplify code now that copter is converted
no longer need as many public functions
2013-04-20 13:52:37 +10:00
Andrew Tridgell a0708460a4 Copter: convert to new logging system 2013-04-20 13:52:37 +10:00
Andrew Tridgell 3b90c6c386 Plane: log parameter changes 2013-04-20 13:52:36 +10:00
Andrew Tridgell 991d6598ef Plane: log board voltage 2013-04-20 13:52:36 +10:00
Andrew Tridgell c45f90fb06 Rover: log board voltage 2013-04-20 13:52:36 +10:00
Andrew Tridgell cf0c8331c2 DataFlash: use print_latlon() 2013-04-20 13:52:36 +10:00
Andrew Tridgell e1f9297551 AP_Math: move print_latlon() to location.cpp 2013-04-20 13:52:36 +10:00
Andrew Tridgell cabef0ef6c Rover: cleanup build warnings 2013-04-20 13:52:36 +10:00
Andrew Tridgell 5c553852ed Plane: when logging is disabled don't include DataFlash at all 2013-04-20 13:52:36 +10:00
Andrew Tridgell 0c5b393919 Plane: added compass logging 2013-04-20 13:52:36 +10:00
Andrew Tridgell 7717cc1450 Rover: added compass logging 2013-04-20 13:52:36 +10:00
Andrew Tridgell c56f338fe0 Plane: convert to new logging system 2013-04-20 13:52:36 +10:00
Andrew Tridgell 8c7a7928d4 Rover: use new StartNewLog() interface 2013-04-20 13:52:36 +10:00
Andrew Tridgell c29d870497 DataFlash: dump the format of logs at the start of the log 2013-04-20 13:52:36 +10:00
Andrew Tridgell 6d6641e1a3 VARTest: fixes for new logging system 2013-04-20 13:52:36 +10:00
Andrew Tridgell 67484a2ea1 Copter: make copter code compatible with the new logging system
not fully converted yet
2013-04-20 13:52:36 +10:00
Andrew Tridgell c8af70a18d Plane: make the plane code compatible with the new logging system
not actually converted yet
2013-04-20 13:52:36 +10:00
Andrew Tridgell 90f70707b1 Rover: convert to new logging system 2013-04-20 13:52:36 +10:00
Andrew Tridgell 916e8d0992 DataFlash: new dataflash logging system
this allows us to remove the display functions in the vehicle code,
and also allows us to store the format of a log file in the log. It
also stores the parameters used in a flight, rather than the
parameters set at the time the log is dumped
2013-04-20 13:52:36 +10:00
Andrew Tridgell 17d7f1fbe5 AP_InertialSensor: make some interfaces const 2013-04-20 13:52:36 +10:00
Andrew Tridgell 4fe5ce8a09 AP_Common: added a define for PACKED
neater than a pragma
2013-04-20 13:52:36 +10:00
Andrew Tridgell 8d727614b4 AP_GPS: make status() const 2013-04-20 13:52:36 +10:00
Andrew Tridgell 9171d5587d AP_Param: make it easier to show the value of a parameter 2013-04-20 13:52:36 +10:00
Andrew Tridgell 7ad293e270 AP_AHRS: made a few methods const 2013-04-20 13:52:36 +10:00
Randy Mackay 37abfdc65a Copter: make CIRCLE_RATE a tunable parameter
Also bug fix to check of how many time it has rotated during a loiter
turns mission command
2013-04-20 12:03:55 +09:00
Andrew Tridgell 947b64dfc4 Rover: fixed turn time in flash logs 2013-04-19 11:03:43 +10:00
Andrew Tridgell 6122dd2bdd autotest: added command line extensions to sim_rover.sh 2013-04-19 10:24:47 +10:00
Andrew Tridgell 8ba982e8de autotest: fix dump_logs for other vehicle types 2013-04-19 10:24:35 +10:00
Andrew Tridgell a329e32ccb Plane: added gps status to flashlog 2013-04-19 10:24:20 +10:00
Andrew Tridgell a8d6fa3107 Rover: fixed dataflash logs to be useful
added sonar and fixed other messages
2013-04-19 10:23:57 +10:00
Randy Mackay 1c046fa49f AC_WPNav: increase max descent speed to 1.5m/s 2013-04-18 22:32:00 +09:00
Randy Mackay ed298363f4 AC_WPNav: remove unnecessary limit in leash calc 2013-04-18 22:31:44 +09:00
Randy Mackay f162713ca8 AutoTest: reduce throttle so it doesn't fly so far 2013-04-18 22:30:41 +09:00
Randy Mackay d65d7d95e2 Copter: bug fix for take-off so it never descends
If copter was already flying when take-off command was received it could
descend to the target altitude if it was below the current altitude.
2013-04-18 22:30:24 +09:00
Randy Mackay 0fc9c8739e Copter: add WP_YAW_BEHAVE parameter
Allows user to control whether nose points towards next waypoint and/or
home when RTLing.
Replaces YAW_OVR_BEHAVE which had a very similar purpose.  Almost nobody
ever knew about or used this parameter.
2013-04-18 15:30:18 +09:00