Andrew Tridgell
645508224f
AP_Landing: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
7 years ago
Lucas De Marchi
c745908b14
AP_Landing: add static create method
7 years ago
Michael du Breuil
40f49733ea
AP_Landing: Support usage for termination
8 years ago
Michael du Breuil
1e735324d4
AP_Landing: Add MAVLink reporting interface
8 years ago
Michael du Breuil
64fb09fb38
AP_Landing: Add an interface to poll if we should be setting fly_forward in AHRS
8 years ago
Eugene Shamaev
41fe4d0515
AP_Landing: fix to remove reorder warning
8 years ago
Andrew Tridgell
e7024d9203
AP_Landing: restructure parameters into a structure
8 years ago
Michael du Breuil
547d06febf
AP_Landing: Add deepstall support
8 years ago
Michael du Breuil
8b20577b74
AP_Landing: Add a servo override interface and PID logging interface
8 years ago
Michael du Breuil
c10fe2e7a4
AP_Landing: Add more interfaces from vehicle code
...
Fixs up some documentation about expected return values
8 years ago
Tom Pittenger
da48b24a5c
AP_Landing: add logging as new "LAND" field
8 years ago
Tom Pittenger
644f75942b
AP_Landing: refactor bool variables into flag stucts
8 years ago
Tom Pittenger
bdafc2c025
AP_Landing: re/move complete flag into backend
...
the complete flag was only ever true during FLIGHT_LAND_FINAL so we just check for that now instead
8 years ago
Michael du Breuil
4cf1c74c62
AP_Landing + Plane: Check for land complete before requesting disarm
8 years ago
Tom Pittenger
2ccd91d88f
AP_Landing: rename stage enum
8 years ago
Tom Pittenger
650e694eb1
Plane: move landing.reset to landing.do_land()
8 years ago
Tom Pittenger
61bc0a6206
Plane: check stage==LAND instead of landing.in_progress
8 years ago
Michael du Breuil
3e66dd10d7
Plane: Move landing stages inside AP_Landing and refactor
8 years ago
Michael du Breuil
e9ec1d3a30
AP_Landing: Internalize the flight mode slope stages
8 years ago
Tom Pittenger
b570c11e26
AP_Landing: allow separate handling for verify_land() vs verify_abort()
8 years ago
Tom Pittenger
6c0296ba13
AP_Landing: shadow copy of plane flight_stage into landing
...
.. and describe stages without using specific stage name
8 years ago
Tom Pittenger
502768c979
AP_Landing: move enum FlightStages to AP_Vehicle::FixedWing
8 years ago
Tom Pittenger
3e2098192b
AP_Landing: add is_complete() accessor
8 years ago
Tom Pittenger
f09007cbe9
AP_Landing: use a common reset for uniform landing wipe
8 years ago
Tom Pittenger
7daf1a87be
AP_Landing: non-functional change - re-organizing header declarations
8 years ago
Tom Pittenger
e061e1734c
AP_Landing: abstract land abort request method
8 years ago
Tom Pittenger
03b5523b43
AP_Landing: abstract out init_start_nav_cnd work to landing lib
...
This reverts commit 3e89580383
and fixes it
8 years ago
Andrew Tridgell
3e89580383
Revert "AP_Landing: abstract out init_start_nav_cnd work to landing lib"
...
This reverts commit 8d8775125a
.
doesn't build
8 years ago
Tom Pittenger
8d8775125a
AP_Landing: abstract out init_start_nav_cnd work to landing lib
8 years ago
Tom Pittenger
725a9c40a6
AP_Landing: fixed compiler warnings
...
- init variable out of order, callbacks were declared first
8 years ago
Tom Pittenger
3a9ad24907
AP_Landing: compute wind_alignment and half of head-wind
...
Determine how aligned heading_deg is with the wind. Return result
is 1.0 when perfectly aligned heading into wind, -1 when perfectly
aligned with-wind, and zero when perfect cross-wind. There is no
distinction between a left or right cross-wind. Wind speed is ignored
8 years ago
Tom Pittenger
d4d186058d
AP_Landing: move jump_to_landing_sequence() to AP_Mission
8 years ago
Tom Pittenger
1a70e2f353
AP_Landing: new param LAND_TYPE to split current behavior into AP_Landing_Slope.cpp
8 years ago
Tom Pittenger
fe4cd7bbbd
AP_Landing: set landing params as private and use accessors
8 years ago
Tom Pittenger
98ae77d6a3
AP_Landing: Migrate the rest of "LAND_" params from Plane to AP_Landing
8 years ago
Tom Pittenger
d53b177877
AP_Landing: migrate aparm "LAND_" params from plane to AP_Landing
8 years ago
Tom Pittenger
8f36fe7705
AP_Landing: migrate aparm "LAND_" params from plane to AP_Landing
8 years ago
Tom Pittenger
fc84c61672
AP_Landing: add const to all possible vars in function calls
8 years ago
Tom Pittenger
fc2f518f31
Plane: revert auto_state.checked_for_autoland back to Plane
8 years ago
Tom Pittenger
75e625fd30
AP_landing: port the rest of plane/landing.cpp
8 years ago
Tom Pittenger
9a79b79f1e
AP_Landing: port more from plane
8 years ago
Tom Pittenger
10027b21d6
Plane/AP_Landing: port setup_landing_glide_slope()
8 years ago
Tom Pittenger
d2376b7c8b
Plane: migrate two helper functions to AP_Landing
...
- move functions restart_landing_sequence() and jump_to_landing_sequence() to AP_Landing
- NOTE: jump_to function can not set mode, so it is now done externally in vehicle
8 years ago
Tom Pittenger
896b931a7c
Plane: Move auto_state variables to AP_landing members
8 years ago
Tom Pittenger
61b02cb41d
AP_Landing: add new library for fixed wing landing abstraction
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
Lucas De Marchi
109f807260
AP_RPM: replace header guard with pragma once
9 years ago
Andrew Tridgell
45ea2a9b68
AP_RPM: added a SITL RPM backend
9 years ago
Andrew Tridgell
7375f395f9
AP_RPM: added optional PWM logging
9 years ago
Andrew Tridgell
39c219d452
AP_RPM: first version of RPM sensor driver
10 years ago