Commit Graph

59 Commits

Author SHA1 Message Date
Randy Mackay
4c40b44563 Copter: limit max ahrs trim to 10degrees
Limit is applied as trims from accelerometer calibration are copied to
the ahrs object.
2013-02-02 10:59:58 +09:00
Randy Mackay
eca6ca2100 Copter: set update rate to 50hz during esc calibration
Also modified some comments in the code re the esc calibration
2013-02-01 11:16:19 +09:00
Randy Mackay
5b50f31b8f Copter: integrate automatic roll and pitch trims 2013-01-30 20:48:42 +09:00
rmackay9
7bf3296425 ArduCopter: remove unused wait_for_yes function 2012-12-17 17:52:04 +09:00
rmackay9
e9c1500f33 ArduCopter: clear ahrs roll and pitch trims after an accel level command 2012-12-12 17:17:09 +09:00
Andrew Tridgell
45e62add9f Copter: update ArduCopter for new ins interface 2012-11-30 07:15:18 +11:00
Andrew Tridgell
76e9adb8d4 ACM: make it possible to run CLI on radio port in ArduCopter 2012-11-21 21:41:34 +11:00
Andrew Tridgell
b3ffea0ad2 ACM: fixed some memory cast warnings 2012-11-19 08:42:36 +11:00
rmackay9
38fdacd93b ArduCopter: replaced digitalRead and digitalWrite with faster calls
improved performance logging to dataflash
2012-11-19 01:16:07 +09:00
Jason Short
40a1f647f6 ACM : Setup, format 2012-11-09 22:15:16 -08:00
rmackay9
e2b1cb7e8d AP_InertialSensor: changes after review with Tridge.
sanity checking added to accelerometer calibration routine.
user feedback is sent using gcs_send_text_fmt instead of Serial.printf.
moved ins parameters to new eeprom number to avoid conflicts with older parameters.
other small changes including renaming of functions and parameters.
2012-11-07 19:21:15 +09:00
rmackay9
0868917ff4 ArduCopter: move to use new INS library instead of IMU library 2012-11-07 19:21:09 +09:00
rmackay9
7fb58fce87 ArduCopter: replace Serial.print with Serial.print_P to save memory.
Includes replacing flight_mode_strings with print_flight_mode function.
SendDebug macro replaced with direct Serial.print_P calls.
2012-10-22 16:45:24 +09:00
rmackay9
0299e2b51e ArduCopter: removed deprecated mag offset routine.
Also removed commented-out block of code from navigation.pde.
2012-10-17 19:47:21 +09:00
Andrew Tridgell
14d19ac33d ACM: updates for new GPS detection
a GPS can now be attached after startup
2012-09-17 14:45:47 +10:00
rmackay9
94d4305cf3 ArduCopter: print firmware version of code instead of zero. 2012-09-13 21:49:11 +09:00
Jason Short
e4ec96e12f ACM : better debugging text 2012-09-12 23:06:06 -07:00
Jason Short
24f80c632c ACM : forced setup_show to dump params during log dump for better analysis. 2012-09-10 20:52:30 -07:00
uncrustify
8bb14446e5 uncrustify ArduCopter/setup.pde 2012-08-21 19:19:50 -07:00
Andrew Tridgell
bd6581c523 AHRS: removed Quaternion build support from APM/ACM/rover 2012-08-22 10:42:21 +10:00
rmackay9
48b7d26c5d ArduCopter: changed all "int" to "int16_t" and a few "long"s to "int32_t".
Also moved "simple_counter" variable from global scope to the "update_simple_mode" function which is the only place that it's actually used.
2012-08-16 20:04:46 +09:00
Andrew Tridgell
2ba08c2122 ACM: removed pointless load() calls 2012-08-08 16:51:14 +10:00
Andrew Tridgell
53e0e44704 ACM: fixed HIL build with new accel setup code 2012-07-20 12:46:16 +10:00
Jason Short
25c3ed6c4b Oilpan ADC parameters added
including a function that configures each Accel Axis
Defaults matching old behavior
Added param group
2012-07-18 22:57:11 -07:00
Andreas M. Antonopoulos
9dfb3c4db9 Added Michael Pursifull's Maxsonar HRLV model support 2012-07-11 18:46:47 -07:00
Andrew Tridgell
7883c4a545 ACM: ArduCopter updates for new compass interface 2012-06-27 16:01:50 +10:00
rmackay9
5e2147de1f ArduCopter - setup.pde - changed cli for helicopter to call the new AP_Motors class's parameters instead of the global parameters.
changed init_esc to call the AP_Motor's class's "throttle_pass_through" function.
2012-04-04 23:02:29 +09:00
Andrew Tridgell
04826065ef Quaternion: show "Quaternion test" on startup if enabled 2012-03-10 10:34:29 +11:00
Andrew Tridgell
b06f35eaa2 Heli: fixed some 'used before initialised' warnings 2012-02-19 16:34:43 +11:00
Randy Mackay
b55db247ca TradHeli - fixed small parameter bug affecting helis. The servo parameters were declared as GSCALAR instead of GGROUP in Parameters.pde.
also renamed heli parameters from _coll_ to the more descriptive _collective_
2012-02-18 20:57:51 +09:00
Jason Short
b070225366 CH 6 Range setup 2012-02-15 11:47:54 -08:00
Jason Short
f9296796fd Added lengthy note about motor testing 2012-02-15 10:49:11 -08:00
Andrew Tridgell
16a5b5c3ee added AP_Param::show_all()
this moves the logic into common code
2012-02-13 16:22:52 +11:00
Andrew Tridgell
781617cae0 token size for first()/next() is now 16 bits 2012-02-13 16:22:52 +11:00
Andrew Tridgell
1af6f08b1c adapted main ACM code for AP_Param 2012-02-13 16:22:52 +11:00
Pat Hickey
81ce8d346e ArduCopter setup motors: print basic instructions. 2012-02-11 16:05:51 -08:00
Jason Short
8fcb2931d7 Cosmetic changes
GPS LED lock waits for home_is_set to be true
2012-01-28 21:19:46 -08:00
Pat Hickey
368e736a61 ArduCopter: Call motors_output_enable at correct spot during init 2012-01-22 12:03:11 -08:00
Doug Weibel
2ea9db84e0 Update battery monitoring code for ArduCopter
Fixes compatibility for APM2.  Also a significant update to the battery monitoring code:  We previously had monitoring modes for individual cell voltages for 3 and 4 cell lipos.  These have been removed as they were never really supported (the cell voltages were computed but were not reported or recorded anywhere).  Also, some clean-up/prep work was done for supporting monitoring 2 separate battery packs.  The CLI battery and current monitoring tests were consolidated into 1 test.
changed
2012-01-15 17:10:02 -07:00
Jason Short
30f5ecda54 Fixed Type Error 2012-01-10 23:43:44 -08:00
Pat Hickey
20b0e4cd33 ArduCopter setup.pde: translate from CH_ to MOT_ notation 2012-01-09 21:57:02 -08:00
Randy Mackay
ff66a3417c OptFlow - initial support for APM2 (there are still problems) including adding ability to set Chip Select pin.
Other unrelated changes are:
a) fixed typo in 'esitmate_velocity' to 'estimate_velocity'.
b) moved init_compass from system.pde to sensors.pde which seemed consistent with other sensors.
2011-12-30 12:06:31 +09:00
Jason Short
da903d2c3e moved some defines around 2011-12-23 14:46:32 -08:00
Andrew Tridgell
c007fb49b8 IMU: update ACM and APM for flash_leds change in IMU init 2011-12-13 18:19:41 +11:00
Pat Hickey
05b6f4be81 ArduCopter CLI: Add imu.init before imu.init_accel for "level"
* Depending on when you entered the CLI, the imu might not be
  initialized yet, and init_accel would hang.
2011-12-11 15:19:46 -08:00
Randy Mackay
62a7b19600 Arducopter, RangeFinder - added SONAR_TYPE parameter and properly support the XL (default), LV and long distance XL (aka XLL) sonar types 2011-12-11 16:40:59 +09:00
Jason Short
9afd99b834 Added notes to Imu.ax, ay, az 2011-12-10 10:19:20 -08:00
Jason Short
7f80649566 Added alternate alt hold,
New ESC Calibration Routine
2011-11-21 22:12:19 -08:00
Jason Short
1b943276ed shortened strings for mem 2011-11-19 14:00:55 -08:00
Jason Short
3b825fb8c1 Merge branch 'master' of https://code.google.com/p/ardupilot-mega
Conflicts:
	Tools/autotest/autotest.py
2011-11-12 21:53:08 -08:00