Commit Graph

147 Commits

Author SHA1 Message Date
Tom Pittenger c8bc44fc6e Copter: compile warnings: float to double. print statements require doubles 2015-05-05 13:27:00 +10:00
Tom Pittenger 66c7090f00 Copter: fix compile warnings by converting .f to .0f 2015-04-24 14:24:52 +09:00
Randy Mackay 5e359c977f Copter: replace range finder health with status 2015-04-24 10:57:30 +09:00
Andrew Tridgell 307b9e807f Copter: reduced build warnings
removed some unused code, and mark some functions with UNUSED_FUNCTION
2015-02-18 11:13:48 +11:00
Andrew Tridgell c268d7252f Copter: fixed flymaple build 2015-01-05 07:36:40 +11:00
Andrew Tridgell 788bb8ab9f Copter: make optflow available to AHRS 2015-01-03 14:16:34 +11:00
priseborough 60527a023a Copter : Update optical flow test for new PX4Flow interface 2014-12-06 18:16:43 +11:00
Randy Mackay f6ff1742d5 Copter: landing detector checks baro climb rate
Barometer climb rate must be -150cm/s ~ +150cm/s
This threshold is generous because we already use the inertial
navigation climb rate so this is just to catch cases where inertial nav
is very incorrect in it's climbrate estimates
2014-10-22 17:29:14 +09:00
Randy Mackay 3201a8dbca Copter: integrate optflow_enable param move to optflow class 2014-10-15 16:35:43 +09:00
Randy Mackay 7686660c73 Copter: use baro healthy() 2014-08-14 16:03:23 +09:00
akdslr 06fa2e3f60 ArduCopter test: Renamed the test from sonar to rangefinder and added info on all devices 2014-07-24 14:41:55 +10:00
Andrew Tridgell a4b9b989b7 Copter: convert to new AP_RangeFinder API 2014-07-08 15:08:18 +10:00
Randy Mackay 416e9457ce Copter: remove cli motor test 2014-04-29 11:41:17 +09:00
Emile Castelnuovo 9e31f032c2 Copter: added VRBRAIN board #includes and #defines 2014-04-08 16:19:20 +10:00
Randy Mackay 00f9843e40 Copter: remove CLI tests for gps, logging, radio
Required to shrink the firmware down so that it can fit on the APM2
boards
2014-03-05 11:44:09 +09:00
Andrew Tridgell 9c66dd0d2c Copter: change to Compass::learn_offsets 2014-02-16 13:22:13 +11:00
Andrew Tridgell 24f2ac20de Copter: removed HIL_MODE_ATTITUDE
this really can't work any more, as AHRS can't support it
2014-02-15 05:29:46 +11:00
Randy Mackay 3ba5b70736 Copter: fix compiler warning from motorsync test 2014-01-26 11:08:34 +09:00
Andrew Tridgell e3804e2846 Copter: fixes for AP_Relay API change 2014-01-20 17:06:29 +11:00
Randy Mackay 111d0854a7 Copter: motorsync cli test 2014-01-18 17:00:43 +09:00
Randy Mackay 8a29d63d89 Copter: faster baro calibration when arming
using update_calibration() instead of the full calibrate() cuts
1.5seconds of the arming time
2014-01-15 23:28:24 +09:00
Randy Mackay 9f2f44f0f6 Copter: integrate shrunken optflow 2014-01-09 12:31:53 +09:00
Andrew Tridgell d265e54043 Copter: changes for compass healthy API 2013-12-09 17:47:22 +11:00
Andrew Tridgell ffdcb715c3 Copter: updates for compass API change 2013-12-09 17:34:06 +11:00
Randy Mackay 7c5982c573 Copter: remove unnecessary Log_Write_Optflow 2013-10-23 20:46:35 +09:00
Randy Mackay f52c6add89 Copter: reenable optical flow by default
correct optflow test compile error
2013-10-23 20:42:03 +09:00
Randy Mackay d2bda8c235 Copter: split up medium loop 2013-10-13 11:03:15 +09:00
Randy Mackay dab4f032f9 Copter: integrate BattMonitor 2013-10-03 11:16:28 +09:00
Randy Mackay 3bf1352701 Copter: shorten motor tests printf 2013-09-24 21:45:53 +09:00
Randy Mackay 284aa2217f Copter: remove old comments 2013-09-24 21:45:43 +09:00
Randy Mackay d7782e1356 Copter: remove tune from cli to save 300bytes flash 2013-09-24 21:42:02 +09:00
Andrew Tridgell 35e3c887d2 Copter: use new baro API 2013-09-21 21:30:54 +10:00
Andrew Tridgell 46688454c4 Copter: removed flash_leds() calls 2013-09-19 18:38:28 +10:00
Randy Mackay 0fa8e44377 Copter: remove cli eprom dump 2013-09-15 11:44:53 +09:00
Randy Mackay 36bbed8fdd Copter: removed calls to set motor's max throttle 2013-09-12 22:28:38 +09:00
Randy Mackay e985253f1a Copter: integrate notify 2013-08-30 13:01:35 +10:00
Andrew Tridgell da4137b731 Copter: changes for GPS field changes 2013-07-10 14:04:22 +10:00
tstellanova 459c47fa46 Fix test_ins
Fix output format of test_ins and fix the number of parameters passed
to printf
2013-07-02 23:42:48 -10:00
Randy Mackay d875e95da3 Copter: remove nav and wp tests from cli
This are more fully tested in the autotester
2013-05-31 15:23:39 +09:00
Randy Mackay ae91c4a237 Copter: alphabetise order of cli test menu 2013-05-31 15:16:06 +09:00
Randy Mackay a0c8bf238e Copter: move motors test to test menu
Also allow test to be run from mission planner's cli window
2013-05-31 15:16:05 +09:00
Randy Mackay d1791bab76 Copter: fix barometer cli test 2013-05-25 12:21:29 +09:00
Randy Mackay 9d0f40b432 Copter: add pre_arm_rc_check
Motors are not be enabled unless we have passed rc checks which include
checking the radio in calibration has been performed.
2013-05-16 16:32:00 +09:00
Andrew Tridgell 703a1ba438 Copter: avoid copying the DCM matrix 2013-05-05 21:51:09 +10:00
Andrew Tridgell 0d027b7a23 Copter: updates for new compass API 2013-05-02 12:48:14 +10:00
Randy Mackay cc2232b2f3 Copter: remove outdated tests
We primarily use sitl now for testing making these unit tests less
important and having large blocks of commented out code that perhaps
doesn't compile anymore makes the code messy
2013-04-28 17:21:33 +09:00
Randy Mackay 57731bb3f9 Copter: adopt compass test from arduplane 2013-04-27 23:33:04 +09:00
Andrew Tridgell ce3ee97e73 Copter: removed duplicate print_latlon() declarations 2013-04-20 13:57:45 +10:00
Randy Mackay d2bd818b2d Copter: bug fix for auto_armed logic
Zero throttle when switching into an auto flight mode would cause the
motors to stop.
2013-04-17 21:28:42 +09:00
Randy Mackay 629d23b7e2 Copter: remove WP_SPEED and WP_RADIUS parameters
AC_WPNav library has equivalent params with very similar names
2013-04-14 13:27:37 +09:00