Michelle Rossouw
ded488fd9f
Blimp: Remove most commented out code and other cleanups
4 years ago
Michelle Rossouw
b98bbcb678
Blimp: initial implementation of blimp vehicle type
4 years ago
Arsh
3c83eecf78
Copter: AP_Arming: Added check for EKF origin altitude
4 years ago
Peter Barker
e6c6189fe5
Copter: cope with change in namespace of LogEvent enum
...
Also move Acro Trainer types into an enum class as the global defines
interfere with the Event names.
Also eliminate the Log_Write_Event wrappers.
5 years ago
Michael du Breuil
e0d7b71e95
Copter: Reduce dependency on inertial nav
6 years ago
Dr.-Ing. Amilcar do Carmo Lucas
08124faab4
Copter: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
6 years ago
Peter Barker
31f796f0c5
Copter: remove unused scaleLongDown member
6 years ago
Peter Barker
13db459f49
Copter: remove redundant home-setting sanity checks
6 years ago
Peter Barker
5ae52038fa
Copter: make setting of home boolean in preparation for sanity checks
6 years ago
Peter Barker
6fc76a32af
GLOBAL: use AP::logger() and strip redundant Log_ from methods
6 years ago
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
6 years ago
Francisco Ferreira
a2fa63bcf7
Copter: fix Cygwin build
...
Static initialization doesn't have an exact order, we can't rely on it
6 years ago
Peter Barker
332340135f
Copter: leave AHRS to log and notify home changes
6 years ago
Peter Barker
078d90132c
Copter: use AP_RTC
...
Co-authored-by: patrickelectric@gmail.com
Copter: AP_GPS now sets the system time directly
Copter: use AP_RTC for mission delays
Copter: Remove ap_t bits counter (Patrick José Pereira)
Change bits in ap_t to bool and add a static assert
7 years ago
Peter Barker
c09ccf5b61
Copter: split home-set and home-locked state
7 years ago
Peter Barker
1437eb008d
Copter: remove arguments to send_home and send_ekf_origin
7 years ago
Peter Barker
9dce133938
Copter: handle setting of ekf origin in GCS_MAVLink
7 years ago
Peter Barker
0dc0e54767
Copter: move Log_Write_Home_And_Origin into AP_AHRS
7 years ago
Peter Barker
45f2312bfe
Copter: move home state into AP_AHRS
7 years ago
Peter Barker
9b440d6b25
Copter: add option to disable SmartRTL mode
...
Saves 5.5k of Flash
7 years ago
Peter Barker
b9ad2bc8db
Copter: add option to disable AUTO mode
...
Saves ~12k of flash
7 years ago
Dylan Herman
c772e2d3fd
Copter: sets SmartRTL home after AHRS home is set
...
Now calls AP_SmartRTL::set_home when arming. In addition, it calls it whenever
the ahrs home is set to the current location, whether by GCS or in-flight
Copter: merge
7 years ago
Randy Mackay
1b3cc9289b
Copter: support SET_GPS_GLOBAL_ORIGIN
...
also remove setting of origin from DO_SET_HOME command
initialise ekf_origin location when consuming SET_GPS_GLOBAL_ORIGIN
set_ekf_origin performs sanity check on location
7 years ago
Peter Barker
a4d167affe
Copter: eliminate global static GCS_MAVLINK::send_home_all
8 years ago
Randy Mackay
cb76bd8f3d
Copter: compass set-initial-location uses ahrs location
...
Previously it could attempt to use a gps location even if gps was not being used
Also compass-accumulate moved to sensors.cpp
8 years ago
Randy Mackay
814cadac68
Copter: consolidate set_home functions
...
added lock argument instead of having twice as many functions
no functional change
8 years ago
Randy Mackay
8f43b60247
Copter: set EKF origin from first do-set-home command
8 years ago
Andrew Tridgell
0f6d0c5ba9
Copter: combined tri, single, coax and multicopter into a single build
...
this allows copter to be just 2 builds, one for heli, and one for
everything else
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
Andrew Tridgell
57870cccb9
ArduCopter: update signing timestamp on GPS lock
9 years ago
Randy Mackay
330961b524
Copter: send home position when home is set or get-home msg received
9 years ago
Randy Mackay
221ddb545e
Copter: log ahrs home and ekf origin
10 years ago
Peter Barker
12bce49cd1
Copter: use common mission logging code
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
Randy Mackay
484bf628e1
Copter: fix comments related to home-alt set in-flight
10 years ago
Randy Mackay
1f96cbd015
Copter: home-alt set to EKF-origin if captured in flight
10 years ago
Niels Joubert
704e75d140
ArduCopter: Remove kruft from old RTK driver
10 years ago
Randy Mackay
d589c591a6
Copter: only log home when first set
...
We should also log home when we arm
10 years ago
Randy Mackay
2bec00e1c5
Copter: set ahrs home from ekf location
10 years ago
Randy Mackay
6f6847c025
Copter: use only InertialNav_EKF
...
remove calls to unsupported functions including ignore_next_error,
set_altitude, etc.
10 years ago
Randy Mackay
e081b9d1c7
Copter: home is set becomes three state
10 years ago
Randy Mackay
58ac9de94b
Copter: update home position when disarmed
...
This resolves the issue in which the vehicle's position jumped back to
it's home location when disarmed and using the EKF. This also makes
copter consistent with plane.
10 years ago
Andrew Tridgell
c3d839456b
Copter: support logging while disarmed
10 years ago
Randy Mackay
8c48b65175
Copter: bug fix to remove home variable
...
pair programmed with Craig Elder
11 years ago
Randy Mackay
5c305989b9
Copter: set home alt to absolute alt
11 years ago
Andrew Tridgell
640b64f5e4
Copter: convert to new GPS API
11 years ago
Jonathan Challinger
2601ac9959
Copter: Remove 80m altitude limit on RTL
11 years ago
Randy Mackay
2f8daf2fa9
Copter: integrate dataflash Log_Write_MavCmd
11 years ago
Randy Mackay
f3813593b7
Copter: use Dataflash lib's Log_Write_Cmd
11 years ago