Peter Barker
ee830355d2
AC_PrecLand: remove assumption about how precland update method is called
...
this method may not be being called from the scheduler table. Have the callers pass in a true value instead
2024-09-24 10:56:57 +09:00
Andrew Tridgell
260a8eaddc
AC_PrecLand: use NEW_NOTHROW for new(std::nothrow)
2024-06-04 09:20:21 +10:00
Randy Mackay
fcc2e2ac5a
AC_PrecLand: TYPE param renamed to MAVLink
2024-05-21 08:38:59 +10:00
Dr.-Ing. Amilcar do Carmo Lucas
f0fc447aed
AC_PrecLand: reduce code duplication, move common functionally to the base class
2024-03-20 19:33:14 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
573436e81b
AC_PrecLand: use GCS_SEND_TEXT where possible
2024-03-06 19:53:55 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
39e7e4bed1
AC_PrecLand: NFC move two local instances of inertial_data_delayed to single _inertial_data_delayed member variable
...
- improve code alignment
- simplify a return
- improve initialization of vectors
2024-03-06 19:53:55 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
87435473b5
AC_PrecLand: Move accessors code to the .h file
2024-03-06 19:53:55 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
4d7fc1fe46
AC_PrecLand: remove code duplication and use the same logic as the other backends (<= instead of <)
2024-03-06 19:53:55 +11:00
Andrew Tridgell
e5f092482d
AC_PrecLand: added get_target_location and get_target_velocity
2024-03-06 09:39:51 +11:00
Peter Barker
26b665ed82
AC_PrecLand: allow compilation with HAL_LOGGING_ENABLED false
2024-01-17 18:25:55 +11:00
Mykhailo Kuznietsov
b50635d27d
AC_PrecLand: Fix some typos
...
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
rishabsingh3003
8a1fa0e096
Copter: Allow fast descend while Prec Landing
2023-09-13 11:49:16 +10:00
rishabsingh3003
d5a5f4f863
AC_PrecLand: Allow fast descend
2023-09-13 11:49:16 +10:00
Peter Barker
09dbf53454
AC_PrecLand: fixes for feature disablement
2023-04-05 18:33:19 +10:00
tzarjakob
a91178d0e1
AC_PrecLand: configuration of Precision Landing for custom build server
2023-03-27 09:04:07 +11:00
rishabsingh3003
97b9e9da92
AC_Precland: Add option to resume precland after manual override
2023-01-31 19:56:43 +09:00
Peter Barker
4c55bea0f2
AC_PrecLand: include required AP_Vehicle_Type header
2022-11-02 18:35:48 +11:00
jackhong12
4a4f361a17
all: use CLASS_NO_COPY() macro
2022-10-04 11:23:04 +11:00
Peter Barker
0107466fe4
AC_PrecLand: include required GCS.h header
2022-09-27 09:26:45 +10:00
chobitsfan
43105249cb
PrecLand: support LANDING_TARGET ext field
2022-09-06 12:10:21 +09:00
Shiv Tyagi
8bd26dffac
AC_PrecLand: rotate target vector based on sensor orient
...
Since, the frontend takes care of rotating sensor frame target vector to body frame, the sitl backend should return unit
vector in sensor frame instead of body frame. This is to have homogeneity among backends.
2022-08-30 03:44:26 -04:00
Shiv Tyagi
bc3ff20871
AC_PrecLand: add _ORIENT param to precland library
...
The orient parameter will help us construct a direction of approach vector in vehicle body frame. This vector would help
us rotate the target vector from sensor frame to body frame and determine the horizontal position error of vehicle for
more orientations than just PITCH_270
2022-08-30 03:44:26 -04:00
Shiv Tyagi
5ff268fa97
AC_PrecLand: return target distance if enabled from SIM_Precland
...
For rover, we cant measure distance towards target using a rangefinder. Hence, we should must return target distance if enabled through SIM_Precland.
2022-08-18 22:47:43 +10:00
Iampete1
22aa09d125
AC_PrecLand: params always use set method
2022-08-03 13:43:48 +01:00
Peter Barker
c452002ae4
AC_PrecLand: stop libraries including AP_Logger.h in .h files
...
AP_Logger.h is a nexus of includes; while this is being improved over
time, there's no reason for the library headers to include AP_Logger.h
as the logger itself is access by singleton and the structures are in
LogStructure.h
This necessitated moving The PID_Info structure out of AP_Logger's
namespace. This cleans up a pretty nasty bit - that structure is
definitely not simply used for logging, but also used to pass pid
information around to controllers!
There are a lot of patches in here because AP_Logger.h, acting as a
nexus, was providing transitive header file inclusion in many (some
unlikely!) places.
2022-04-08 19:18:38 +10:00
Peter Barker
2ab2555e0b
AC_PrecLand: include cleanups
2022-03-01 11:21:33 +11:00
Rishabh
89cd6ab006
AC_PrecLand: Change parameter to bitmask
2022-02-01 17:12:56 +09:00
Rishabh
819539af1a
AC_PrecLand: Add features to check if target is moving and figure out its velocity
2022-01-31 14:38:29 +09:00
Jaaaky
0c16ebec6c
AC_PrecLand: Fix multi #include's
2021-12-21 10:38:46 +11:00
Rishabh
ee176d26e9
AC_PrecLand: Raise internal error if state machine is running while precland is disabled
2021-08-30 14:08:44 +09:00
Rishabh
ae98545202
AC_PrecLand: Add prec landing state machine
2021-08-23 15:00:56 +09:00
Rishabh
d4edd84573
AC_Precland: Allow landing retry and failsafe handling
2021-08-23 15:00:56 +09:00
Rishabh
d9534d9526
AC_Precland: Add new parameter to descend only when close to target
2021-08-17 15:09:55 +09:00
bugobliterator
9cad93f58c
AC_PrecLand: change class name from SITL::SITL to SITL::SIM
2021-08-05 07:25:31 +10:00
Andrew Tridgell
f3181ae0f6
AC_PrecLand: mark log messages as streaming
2021-08-03 10:23:36 +10:00
Peter Barker
63015e9e9a
AC_PrecLand: fixes
2021-07-21 21:01:39 +10:00
Peter Barker
6aba6c83c6
AC_PrecLand: rename for AHRS restructuring
2021-07-21 21:01:39 +10:00
Rishabh
290174f9d9
AC_PrecLand: NFC: Refactor EKF code
2021-07-05 15:21:27 +09:00
Andrew Tridgell
f209504a12
AC_PrecLand: convert SITL backends to double precision position
2021-06-24 21:34:30 +10:00
Rishabh
08b8a43ab5
AC_PrecLand: Use rotate_xy instead of matrix multiplication
2021-06-14 15:59:52 +09:00
Rishabh
53bd545fac
AC_PrecLand: Account for vertical camera offset in alt calculations
2021-06-14 15:59:52 +09:00
Rishabh
f1e4f6dbc8
AC_PrecLand: Initialize EKF before using its output
2021-06-14 15:59:52 +09:00
Hwurzburg
a2f1c6e19e
AP_PrecLand: correct metatdata for YAW_ALIGN
2021-05-21 08:27:49 +09:00
Peter Barker
6a3188a8ec
AC_PrecLand: use enum-class for Type, make enum private
2021-04-14 18:04:26 +10:00
Peter Barker
252543978e
AC_PrecLand: remove unused PrecLandBehaviour enum and accessor
...
AFAICS this has never been used
2021-04-14 18:04:26 +10:00
Peter Barker
1ad9542df3
AC_PrecLand: use enum-class for EstimatorType
...
And remove accessor for same
2021-04-14 18:04:26 +10:00
Andrew Tridgell
1fe1e53260
AC_PrecLand: pass in time corrected LANDING_TARGET msg
...
should make companion based precision landing more accurate
2021-04-13 17:30:19 +10:00
Peter Barker
9513bbe85f
AC_Precland: remove unused _timestamp_us
2021-04-13 14:18:05 +10:00
Peter Barker
6d9f1f1bb4
AC_PrecLand: move precision landing logging up into AC_PrecLand
2021-04-13 10:28:39 +10:00
Peter Barker
3569c4d979
AC_PrecLand: correct @User field in ACC_P_NSE documentation
2020-09-22 14:56:04 +10:00