Rishabh
89cd6ab006
AC_PrecLand: Change parameter to bitmask
3 years ago
Rishabh
819539af1a
AC_PrecLand: Add features to check if target is moving and figure out its velocity
3 years ago
Jaaaky
0c16ebec6c
AC_PrecLand: Fix multi #include's
3 years ago
Rishabh
ee176d26e9
AC_PrecLand: Raise internal error if state machine is running while precland is disabled
3 years ago
Rishabh
ae98545202
AC_PrecLand: Add prec landing state machine
4 years ago
Rishabh
d4edd84573
AC_Precland: Allow landing retry and failsafe handling
4 years ago
Rishabh
d9534d9526
AC_Precland: Add new parameter to descend only when close to target
4 years ago
bugobliterator
9cad93f58c
AC_PrecLand: change class name from SITL::SITL to SITL::SIM
4 years ago
Andrew Tridgell
f3181ae0f6
AC_PrecLand: mark log messages as streaming
4 years ago
Peter Barker
63015e9e9a
AC_PrecLand: fixes
4 years ago
Peter Barker
6aba6c83c6
AC_PrecLand: rename for AHRS restructuring
4 years ago
Rishabh
290174f9d9
AC_PrecLand: NFC: Refactor EKF code
4 years ago
Andrew Tridgell
f209504a12
AC_PrecLand: convert SITL backends to double precision position
4 years ago
Rishabh
08b8a43ab5
AC_PrecLand: Use rotate_xy instead of matrix multiplication
4 years ago
Rishabh
53bd545fac
AC_PrecLand: Account for vertical camera offset in alt calculations
4 years ago
Rishabh
f1e4f6dbc8
AC_PrecLand: Initialize EKF before using its output
4 years ago
Hwurzburg
a2f1c6e19e
AP_PrecLand: correct metatdata for YAW_ALIGN
4 years ago
Peter Barker
6a3188a8ec
AC_PrecLand: use enum-class for Type, make enum private
4 years ago
Peter Barker
252543978e
AC_PrecLand: remove unused PrecLandBehaviour enum and accessor
...
AFAICS this has never been used
4 years ago
Peter Barker
1ad9542df3
AC_PrecLand: use enum-class for EstimatorType
...
And remove accessor for same
4 years ago
Andrew Tridgell
1fe1e53260
AC_PrecLand: pass in time corrected LANDING_TARGET msg
...
should make companion based precision landing more accurate
4 years ago
Peter Barker
9513bbe85f
AC_Precland: remove unused _timestamp_us
4 years ago
Peter Barker
6d9f1f1bb4
AC_PrecLand: move precision landing logging up into AC_PrecLand
4 years ago
Peter Barker
3569c4d979
AC_PrecLand: correct @User field in ACC_P_NSE documentation
4 years ago
Randy Mackay
b31a9fd54a
AC_PrecLand: POS param range of 5m and 1cm increment
5 years ago
Pierre Kancir
a9814d34c7
AC_PrecLand: pass mavlink_message_t by const reference
6 years ago
Peter Barker
63e75459e2
AC_PrecLand: add floating point specifier on constant
6 years ago
Pierre Kancir
40e7d22811
AC_Precland: use SITL precland object
...
AC_Precland: simplify includes
6 years ago
Peter Barker
ff06e34aa7
AC_Precland: clean headers
6 years ago
Dr.-Ing. Amilcar do Carmo Lucas
4a71ac5e93
AC_PrecLand: small improvements in comments
6 years ago
Randy Mackay
bee90261ef
AC_PrecLand: enabled param desc loses 2nd option
...
this strict option was not actually supported
6 years ago
Randy Mackay
d271dda8c5
AC_PrecLand: init accepts update rate
6 years ago
Randy Mackay
7fbdaa3c65
AC_PrecLand: LAG to float and use main loop rate
...
also includes other changes from peer review:
- check_inertia_buffer renamed to init_inertial_buffer and nullptr checks removed to make it more clear this should only be called once
- init_inertial_buffer made private
- add check that inertial_buffer_size is never less than 1
- fixup comments
6 years ago
Randy Mackay
40d4bcb84a
AC_PrecLand: rename BUFFER to LAG and add alloc failure check
...
avoids issue where LAG parameter is set too large which would lead to trying to access unallocated memory
inertial buffer is only allocated at startup to avoid memory leak
6 years ago
fnoop
02da34a246
AC_PrecLand: Add PLND_BUFFER parameter and move to AP_HAL::utility::RingBuffer, #6297
...
AC_PrecLand: Add PLND_BUFFER parameter and move to AP_HAL::utility::RingBuffer, ##6297
AC_PrecLand: Fixup int type, #8892
AC_PrecLand: Add PLND_BUFFER parameter and move to AP_HAL::utility::RingBuffer, ##6297
Update screwed up submodules from rebase
6 years ago
Peter Barker
0a7399ae7d
AC_PrecLand: use AHRS singleton, remove pointless initialisations
7 years ago
fnoop
bfceb5dd32
AC_PrecLand: Improve logging
...
Add unit/multiplier of new fields to log structure
Fix new log structure
7 years ago
Pierre Kancir
6fe0597399
AC_PrecLand: replace AP_InertialNav by AHRS
7 years ago
Peter Barker
7cc808543f
AC_Precland: use ins singleton
7 years ago
Andrew Tridgell
9ba8097502
AC_PrecLand: 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
b29a183a74
AC_PrecLand: add static create method
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
de56459887
AC_PrecLand: Use SI units conventions in parameter units
...
Follow the rules from:
http://physics.nist.gov/cuu/Units/units.html
http://physics.nist.gov/cuu/Units/outside.html
and
http://physics.nist.gov/cuu/Units/checklist.html
one further constrain is that only printable (7bit) ASCII characters are allowed
8 years ago
Andrew Tridgell
5d4400f1b7
AC_PrecLand: added BUS parameter for precision landing
...
allow selection of i2c bus for irlock
8 years ago
Jonathan Challinger
9979e4bbe5
AC_PrecLand: fix usage of distance_to_target
8 years ago
Jonathan Challinger
a772e1bd3d
AC_PrecLand: add parameters for camera position relative to the CG
8 years ago
Randy Mackay
8f1d122766
AC_PrecLand: add ACC_P_NSE parameter
8 years ago
Randy Mackay
5dd5c22c39
AC_PrecLand: build IRLock on all boards
8 years ago
Randy Mackay
1fb6d468c6
AC_PrecLand: non functional changes including adding comments
8 years ago
Jonathan Challinger
2a29d7fedd
AC_PrecLand: rework estimation, add EST_TYPE param
8 years ago
Michael du Breuil
d71533dc2b
AC_PrecLand: Update for AHRS NED changes
8 years ago