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
Randy Mackay
cbde042ec5
Copter: remove non-inav loiter and wp controllers
...
lon_speed, lat_speed changed to float
do_takeoff, do_land now set roll-pitch, yaw and nav modes specifically
removed fast_corners functionality (may need to be reimplemented with
new inertial nav controllers)
12 years ago
Randy Mackay
1410063a14
Copter: new ROLL_PITCH_WP_INAV roll-pitch mode
...
small corrections to allow waypoints to work with new inertial nav wp
controller
12 years ago
Randy Mackay
37d3e1d7e4
Copter: add zero slope checks to wpinav
...
also added RTL fix to set wpinav target explicitly
12 years ago
Randy Mackay
fcf102b2cf
Copter: inertial nav waypoint controller
...
#define added to allow compile time selection of traditional or inav
based loiter and wp controllers
12 years ago
Randy Mackay
70371be4a1
Copter: use AP_Math's longitude_scale
...
bug fix to base scaling on home location instead of next_WP which may
not have been initialised
12 years ago
James Bielman
5631f865b2
Update floating point calculations to use floats instead of doubles.
...
- Allows use of hardware floating point on the Cortex-M4.
- Added "f" suffix to floating point literals.
- Call floating point versions of stdlib math functions.
12 years ago
Randy Mackay
2dab40abeb
Copter: bug fix to altitude check of verify takeoff
...
set_next_WP function was not setting the alt_change_flag properly
12 years ago
rmackay9
0decd870dc
ArduCopter: inertial nav - only initialise horizontal position when home is initialised
12 years ago
rmackay9
396024e802
ArduCopter: move scaleLongUp and scaleLongDown initialisation to init_home
12 years ago
Pat Hickey
7af03127f6
ArduCopter: more work
12 years ago
rmackay9
9dd978576b
ArduCopter: auto yaw changes to allow pilot override of yaw during missions
...
Added set_yaw_mode to better control of yaw controller changes and variable initialisation.
Replaced AUTO_YAW mode with separate yaw controllers YAW_LOOK_AT_NEXT_WP, YAW_LOOK_AT_LOCATION, YAW_LOOK_AT_HEADING.
Pilot manual override of yaw causes yaw to change to YAW_HOLD (i.e. manual yaw) until next waypoint is reached.
Added get_yaw_slew function to control how quickly autopilot turns copter
Changed YAW_LOOK_AHEAD to use GPS heading and moved to new get_look_ahead_yaw function in Attitude.pde
Renamed variables: target_bearing->wp_bearing, original_target_bearing->original_wp_bearing.
Removed auto_yaw_tracking and auto_yaw variables and update_auto_yaw function as they are no longer needed.
Simplified MAV_CMD_CONDITION_YAW handling (do_yaw). We lose ability to control direction of turn and ability to do long panorama shots but it now works between waypoints and save 20bytes.
12 years ago
rmackay9
a5bb54e36e
ArduCopter: RTL clean-up and slightly improved landing sensor
...
Consolidated RTL state to be captured by rtl_state variable.
Combined update_RTL_Nav and verify_RTL functions which performed the same function but one was for missions, the other for the RTL flight mode.
Renamed some RTL parameters and global variables to have RTL at the front.
Landing detector now checks accel-throttle's I term and/or a very low throttle value
12 years ago
rmackay9
072ffec493
ArduCopter: allow INERTIAL_NAV to be enabled separately for horizontal and vertical position
12 years ago