Randy Mackay
cb84ec9d9b
Copter: add current based compass compensation
12 years ago
Randy Mackay
0d5e731a65
Copter: add compassmot to cli
...
Allows user to setup compensation for motor's interference on the
compass
12 years ago
Randy Mackay
6601bd37cf
Copter: integrate automatic roll and pitch trims
12 years ago
Randy Mackay
8af605cafc
Copter: set update rate to 50hz during esc calibration
...
Also modified some comments in the code re the esc calibration
12 years ago
Pat Hickey
164246c7d8
ArduCopter: better instructons for setup_motors cli test
...
* i just spent hours confused about this
12 years ago
Andrew Tridgell
36e38eeef7
Copter: ensure ahrs.init() is called
12 years ago
rmackay9
0fa6fdf407
ArduCopter: remove unused wait_for_yes function
12 years ago
rmackay9
0ab82f8c4e
ArduCopter: clear ahrs roll and pitch trims after an accel level command
12 years ago
Pat Hickey
1878290510
ArduCopter: fixes for AP_InertialSenor_UserInteract
12 years ago
Pat Hickey
5bd7046a95
ArduCopter: sketch cpp builds!
12 years ago
Pat Hickey
d9e0bbbbab
ArduCopter: first pass at AP_HAL porting
...
* changed all the byte types to uint8_t
* fixed up much of the serial stuff
12 years ago
Jason Short
19ae5c30eb
ACM : Formatting
12 years ago
Andrew Tridgell
6fbf5ec8f2
Copter: update ArduCopter for new ins interface
12 years ago
Andrew Tridgell
bcae83c4f6
ACM: make it possible to run CLI on radio port in ArduCopter
12 years ago
Andrew Tridgell
a3c3c59b82
ACM: fixed some memory cast warnings
12 years ago
rmackay9
07a7a1acd8
ArduCopter: replaced digitalRead and digitalWrite with faster calls
...
improved performance logging to dataflash
12 years ago
Jason Short
549489ddbb
ACM : Setup, format
12 years ago
rmackay9
d9b4407e64
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.
12 years ago
rmackay9
a1b4ec6d0e
ArduCopter: move to use new INS library instead of IMU library
12 years ago
rmackay9
78316adf75
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.
12 years ago
rmackay9
401fb4101c
ArduCopter: removed deprecated mag offset routine.
...
Also removed commented-out block of code from navigation.pde.
12 years ago
Andrew Tridgell
5fd39bb928
ACM: updates for new GPS detection
...
a GPS can now be attached after startup
13 years ago
rmackay9
b6d2d4723f
ArduCopter: print firmware version of code instead of zero.
13 years ago
Jason Short
072085d2d8
ACM : better debugging text
13 years ago
Jason Short
4c8e257ea2
ACM : forced setup_show to dump params during log dump for better analysis.
13 years ago
uncrustify
bb6e4ac969
uncrustify ArduCopter/setup.pde
13 years ago
Andrew Tridgell
6d11940ada
AHRS: removed Quaternion build support from APM/ACM/rover
13 years ago
rmackay9
36f947acb9
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.
13 years ago
Andrew Tridgell
103b02fe94
ACM: removed pointless load() calls
13 years ago
Andrew Tridgell
0a12b6ad6f
ACM: fixed HIL build with new accel setup code
13 years ago
Jason Short
c9d3ab5413
Oilpan ADC parameters added
...
including a function that configures each Accel Axis
Defaults matching old behavior
Added param group
13 years ago
Andreas M. Antonopoulos
d4a0cb5db1
Added Michael Pursifull's Maxsonar HRLV model support
13 years ago
Andrew Tridgell
33440567e6
ACM: ArduCopter updates for new compass interface
13 years ago
rmackay9
4aa40bdf10
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.
13 years ago
Andrew Tridgell
7a9b3d3388
Quaternion: show "Quaternion test" on startup if enabled
13 years ago
Andrew Tridgell
12327eb2a9
Heli: fixed some 'used before initialised' warnings
13 years ago
Randy Mackay
232359186e
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_
13 years ago
Jason Short
a43ee36bee
CH 6 Range setup
13 years ago
Jason Short
73591a0ca5
Added lengthy note about motor testing
13 years ago
Andrew Tridgell
d55a0c3a71
added AP_Param::show_all()
...
this moves the logic into common code
13 years ago
Andrew Tridgell
0f9adbdae0
token size for first()/next() is now 16 bits
13 years ago
Andrew Tridgell
3b4cae3cc3
adapted main ACM code for AP_Param
13 years ago
Pat Hickey
739317276d
ArduCopter setup motors: print basic instructions.
13 years ago
Jason Short
d1fcebb5ca
Cosmetic changes
...
GPS LED lock waits for home_is_set to be true
13 years ago
Pat Hickey
98a90d0352
ArduCopter: Call motors_output_enable at correct spot during init
13 years ago
Doug Weibel
ed9f7cb1b6
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
13 years ago
Jason Short
6b836d1a09
Fixed Type Error
13 years ago
Pat Hickey
6a4442557c
ArduCopter setup.pde: translate from CH_ to MOT_ notation
13 years ago
Randy Mackay
bbe6dea980
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.
13 years ago
Jason Short
73a73fbf35
moved some defines around
13 years ago