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
8 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
Randy Mackay
bdf49c8a01
AC_PrecLand: add override and fix formatting
8 years ago
Randy Mackay
974a6f48c6
AC_PrecLand: remove check of type when using distance-to-target
8 years ago
fnoop
438ffd870a
AP_PrecLand: consume distance_to_target as alternative to rangefinder_alt
...
Resolves issue #5636
8 years ago
Jonathan Challinger
86406199a9
AC_PrecLand: reserve parameter indices
8 years ago
Andrew Tridgell
50db4d362d
AC_PrecLand: use new in-tree IRLock driver
8 years ago
Peter Barker
fd5f79b238
AC_PrecLand: a pure-ArduPilot simulated SITL precision land backend
8 years ago
Peter Barker
4df4ba1956
AC_PrecLand: make SITL_Gazebo an alternate backend
...
Preprocessor directives were used to hack in the use
of AP_IRLock_SITL. Instead, make it a full backend itself.
8 years ago
Peter Barker
d2285ace6c
AC_PrecLand: remove unneeded empty handle_msg
8 years ago
Peter Barker
03710beb18
AC_PrecLand: make handle_msg impure and do nothing
8 years ago
murata
c808ee2f49
Global: To nullptr from NULL.
...
RC_Channel: To nullptr from NULL.
AC_Fence: To nullptr from NULL.
AC_Avoidance: To nullptr from NULL.
AC_PrecLand: To nullptr from NULL.
DataFlash: To nullptr from NULL.
SITL: To nullptr from NULL.
GCS_MAVLink: To nullptr from NULL.
DataFlash: To nullptr from NULL.
AP_Compass: To nullptr from NULL.
Global: To nullptr from NULL.
Global: To nullptr from NULL.
9 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.
9 years ago
Jonathan Challinger
8df4add729
AC_PrecLand: trust initial velocity less
9 years ago
Jonathan Challinger
ec73f563ad
AC_PrecLand: do not fuse EKF velocity
9 years ago
Jonathan Challinger
7405f82d61
AC_PrecLand: add ekf to estimate vehicle-relative target velocity
9 years ago
John Hsu
a8cf38b366
SITL: implement Gazebo SITL for IRLock tracking.
9 years ago
Randy Mackay
3c87f67212
AC_PrecLand: initialise some members
...
This was not a real problem but it resolves some Covarity warnings
9 years ago
Tom Pittenger
ccb0151816
AC_PrecLand: set param "Enable" to be FLAG_ENABLE
9 years ago
Randy Mackay
65038c753c
AC_PrecLand: re-order init to resolve compiler warning
9 years ago
Jonathan Challinger
8fe0c1b05b
AC_PrecLand: don't run if not enabled
9 years ago
Jonathan Challinger
e84d1581ab
AC_PrecLand: use new irlock interface, refactor backend interface
9 years ago
Jonathan Challinger
0eac5a5c8f
AC_PrecLand: remove zero terms from math
9 years ago
Jonathan Challinger
f74e162451
AC_PrecLand: redo math, simplify interface
9 years ago
Allan Matthew
d01db0edd6
AC_PrecLand: remove PI controller, speed limits as they are unused
9 years ago
Lucas De Marchi
4e9ca31cb9
AC_PrecLand: replace header guard with pragma once
9 years ago
Randy Mackay
c829ec0c2c
AC_PrecLand: add missing parameter description
...
Thanks to Thomas Stone for finding this
9 years ago
Randy Mackay
bea69521c8
AC_PrecLand: velocity PI controller into parent class
9 years ago
Lucas De Marchi
2591261af6
Global: rename min and max macros to uppercase
...
The problem with using min() and max() is that they conflict with some
C++ headers. Name the macros in uppercase instead. We may go case by
case later converting them to be typesafe.
Changes generated with:
git ls-files '*.cpp' '*.h' -z | xargs -0 sed -i 's/\([^_[:alnum:]]\)max(/\1MAX(/g'
git ls-files '*.cpp' '*.h' -z | xargs -0 sed -i 's/\([^_[:alnum:]]\)min(/\1MIN(/g'
9 years ago
Randy Mackay
d13b4c2dc3
AC_PrecLand: init members to resolve compile warning
10 years ago
Randy Mackay
175f5654c1
AC_PrecLand: fix backend compile error
10 years ago
Lucas De Marchi
831d8acca5
Remove use of PROGMEM
...
Now variables don't have to be declared with PROGMEM anymore, so remove
them. This was automated with:
git grep -l -z PROGMEM | xargs -0 sed -i 's/ PROGMEM / /g'
git grep -l -z PROGMEM | xargs -0 sed -i 's/PROGMEM//g'
The 2 commands were done so we don't leave behind spurious spaces.
AVR-specific places were not changed.
10 years ago
squilter
9de2ec04f6
AC_PrecLand: update comments to reflect change from bf_angle to angle
10 years ago
squilter
9e7099f5ee
AC_PrecLand: implement frame of reference
10 years ago
squilter
e409bd0a58
AC_PrecLand: rename bf_angle to angle
10 years ago
Daniel Nugent
58b7bf1588
AC_PrecLand: add companion computer implementation
10 years ago
Daniel Nugent
2f92876865
AC_PrecLand: remove const from get_angle_to_target
10 years ago