Jacob Walser
4112fd1316
Sub: Remove mode header
8 years ago
Jacob Walser
5233b25910
Sub: Format all C++ with Tools/CodeStyle/astylerc
8 years ago
Jacob Walser
6682e93bf3
Sub: Refactor delay()
...
We don't need a dedicated file only to define a delay function.
This will also provide a preventitive measure for people trying to use
delay() without an understanding of the implications
8 years ago
Rustom Jehangir
26d0a922c1
Sub: Changes to match recent Copter updates.
8 years ago
Rustom Jehangir
83ff3931b8
Sub: Refactor "Copter" to "Sub".
8 years ago
Rustom Jehangir
3da7c95e9b
Sub: New vehicle type, derived from ArduCopter.
8 years ago
murata
8f926bd177
Copter: Unify from print or println to printf.
8 years ago
murata
f7273d0e93
Copter: Change from printf statement to print, println statement.
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Randy Mackay
7689315ba2
Copter: rename sonar to rangefinder
9 years ago
Randy Mackay
028946ae9e
Copter: rename CONFIG_SONAR to RANGEFINDER_ENABLE
9 years ago
Andrew Tridgell
4dd8714880
Copter: changed to Hz based task table
9 years ago
Andrew Tridgell
d14056fa1e
Copter: fixed build warnings
9 years ago
Jonathan Challinger
cee706edd9
Copter: reflect renamed function in AP_AHRS
9 years ago
Lucas De Marchi
f4e71affa1
ArduCopter: fix wrong printf format for 32 bits
...
Heading is a 32 bits value, so use %u.
9 years ago
Lucas De Marchi
20c6ffc5e3
Replace use of UARTDriver::printf_P() with UARTDriver::printf()
...
This also starts to show warnings on places that were already using
wrong printf format strings.
9 years ago
Lucas De Marchi
6f4904189b
Replace use of println_P() with println()
9 years ago
Lucas De Marchi
831d8acca5
Remove use of PROGMEM
...
Now variables don't have to be declared with PROGMEM anymore, so remove
them. This was automated with:
git grep -l -z PROGMEM | xargs -0 sed -i 's/ PROGMEM / /g'
git grep -l -z PROGMEM | xargs -0 sed -i 's/PROGMEM//g'
The 2 commands were done so we don't leave behind spurious spaces.
AVR-specific places were not changed.
9 years ago
Lucas De Marchi
2c38e31c93
Remove use of PSTR
...
The PSTR is already define as a NOP for all supported platforms. It's
only needed for AVR so here we remove all the uses throughout the
codebase.
This was automated with a simple python script so it also converts
places which spans to multiple lines, removing the matching parentheses.
AVR-specific places were not changed.
9 years ago
Gustavo Jose de Sousa
fb5320bb25
ArduCopter: use compass get_{field,offsets}() functions
...
Both functions are equivalent, so we're going to simply use
get_{field,offsets}() instead of get_{field,offsets}_milligauss().
9 years ago
Randy Mackay
01c0b20930
Copter: calibrate gyros depending on INS GYR_CAL parameter
10 years ago
Staroselskii Georgii
68e0d57998
Copter: make Copter use milligauss
...
The telemetry and and logging is still in compass units, though. This
way, users won't need to recalibrate their compasses.
10 years ago
Andrew Tridgell
b87cc80486
Copter: fixed some warnings
10 years ago
Andrew Tridgell
278883c521
Copter: finished conversion to .cpp files
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
10 years ago
Andrew Tridgell
356ece3402
Copter: rename .pde files to .cpp files
10 years ago
Tom Pittenger
c8bc44fc6e
Copter: compile warnings: float to double. print statements require doubles
10 years ago
Tom Pittenger
66c7090f00
Copter: fix compile warnings by converting .f to .0f
10 years ago
Randy Mackay
5e359c977f
Copter: replace range finder health with status
10 years ago
Andrew Tridgell
307b9e807f
Copter: reduced build warnings
...
removed some unused code, and mark some functions with UNUSED_FUNCTION
10 years ago
Andrew Tridgell
c268d7252f
Copter: fixed flymaple build
10 years ago
Andrew Tridgell
788bb8ab9f
Copter: make optflow available to AHRS
10 years ago
priseborough
60527a023a
Copter : Update optical flow test for new PX4Flow interface
10 years ago
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
10 years ago
Randy Mackay
3201a8dbca
Copter: integrate optflow_enable param move to optflow class
10 years ago
Randy Mackay
7686660c73
Copter: use baro healthy()
11 years ago
akdslr
06fa2e3f60
ArduCopter test: Renamed the test from sonar to rangefinder and added info on all devices
11 years ago
Andrew Tridgell
a4b9b989b7
Copter: convert to new AP_RangeFinder API
11 years ago
Randy Mackay
416e9457ce
Copter: remove cli motor test
11 years ago
Emile Castelnuovo
9e31f032c2
Copter: added VRBRAIN board #includes and #defines
11 years ago
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
11 years ago
Andrew Tridgell
9c66dd0d2c
Copter: change to Compass::learn_offsets
11 years ago
Andrew Tridgell
24f2ac20de
Copter: removed HIL_MODE_ATTITUDE
...
this really can't work any more, as AHRS can't support it
11 years ago
Randy Mackay
3ba5b70736
Copter: fix compiler warning from motorsync test
11 years ago
Andrew Tridgell
e3804e2846
Copter: fixes for AP_Relay API change
11 years ago
Randy Mackay
111d0854a7
Copter: motorsync cli test
11 years ago
Randy Mackay
8a29d63d89
Copter: faster baro calibration when arming
...
using update_calibration() instead of the full calibrate() cuts
1.5seconds of the arming time
11 years ago
Randy Mackay
9f2f44f0f6
Copter: integrate shrunken optflow
11 years ago
Andrew Tridgell
d265e54043
Copter: changes for compass healthy API
11 years ago
Andrew Tridgell
ffdcb715c3
Copter: updates for compass API change
11 years ago
Randy Mackay
7c5982c573
Copter: remove unnecessary Log_Write_Optflow
11 years ago