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
Randy Mackay
cc7b1c4e9c
Copter: init_home checks cmd read success before logging
11 years ago
Randy Mackay
6e0e672fb2
Copter: log using mission commands
11 years ago
Randy Mackay
9f03e21f81
Copter: remove low-level handling of mission cmds
...
Now handled by AP_Mission
11 years ago
Andrew Tridgell
686d1b9124
Copter: changes set_home_position() to setup_home_position() for Inav
11 years ago
Andrew Tridgell
c6e25483b4
Copter: use a common home with AHRS
11 years ago
Randy Mackay
284aa2217f
Copter: remove old comments
12 years ago
Randy Mackay
262fcb301a
InertialNav: rename set_current_position to set_home_position
12 years ago
Andrew Tridgell
c4f11e6c74
Copter: fix longitude_scale() call for new API
...
Pair-Programmed-With: Brandon Jones <brnjones@gmail.com>
12 years ago
Andrew Tridgell
105bd32a2e
Copter: fixed some uses of constrain_float() to be right type
12 years ago
Andrew Tridgell
25c576cad7
Copter: replaced constrain() with constrain_float()
12 years ago
Andrew Tridgell
5ad9deecfb
Copter: cleanup some bit if tests to be clearer
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
12 years ago
Randy Mackay
58ed8cd544
Copter: replace set_next_WP with direct call to wp_nav
12 years ago
tobias
217b8d7a59
cleanup: use const for struct Location pointers and references
...
this allows the compiler to generate more efficient code
12 years ago