Commit Graph

34 Commits

Author SHA1 Message Date
Gone4Dirt 765f6b69fa AC_Avoidance: Add APM_BUILD_Heli 2021-09-29 19:55:48 +10:00
Iampete1 85e57a3bd8 AP_Avoidance: correct ADSB vertical velocity conversion 2021-09-15 17:55:50 +10:00
Patrick José Pereira f6937babfa AP_Avoidance: Add missing const in member functions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-03 18:45:14 +11:00
Tatsuya Yamaguchi 985642af32 AP_Avoidance: update the description of AVD_F_ALT_MIN to specify MSL 2021-01-12 21:59:44 +09:00
Andy Piper 32cd6b487e AP_Avoidance: conditionally compile based on ADSB support 2020-09-22 09:33:51 +10:00
Peter Barker 36e6ce6e5e AP_Avoidance: use an enumeration for the AP_Avoidance recovery action 2020-08-19 11:38:19 +10:00
Andrew Tridgell 3bb7c0e937 AP_Avoidance: make all semaphores recursive
the cost is very similar and this prevents an easy coding error which
can occur on less used code paths
2020-01-19 20:19:30 +11:00
Andrew Tridgell ead3689ca9 AP_Avoidance: fixed generated param docs 2020-01-18 15:45:32 +11:00
Peter Barker da3bef36fa AP_Avoidance: reorder avoiding and sending GCS notification
handling the avoidance updates the state which indicates what the
vehicle is actually doing, which is what we send to the GCS
2019-11-12 13:48:09 +11:00
Peter Barker 54b1159a16 AP_Avoidance: add singleton 2019-11-12 13:48:09 +11:00
Peter Barker c6126ec720 AP_Avoidance: stop copying adsb vehicle onto stack in src_id_for_adsb_vehicle 2019-07-16 10:30:55 +10:00
Peter Barker fd61bae0bd AP_Avoidance: take responsibility for sending collision message 2019-07-16 09:52:54 +10:00
Peter Barker d7fd88bbca AP_Avoidance: stop taking reference to ahrs in constructor 2019-07-16 09:29:48 +10:00
Andrew Tridgell f8741f2e2a AP_Avoidance: removed unusued AP_Common/Semaphore.h 2019-05-15 15:33:48 +10:00
Michael du Breuil 496df47d9d AP_Avoidance: Remove unimplemented declaration 2019-04-26 08:07:19 +10:00
Pierre Kancir 78ce60aa95 AP_Avoidance: use get_distance_NE instead of location_diff 2019-04-08 08:00:52 -07:00
Dr.-Ing. Amilcar do Carmo Lucas 0725879c49 AP_Avoidance: replace location_offset() and get_distance() function calls with Location object member function calls
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Peter Barker 8dfdda1cf0 AP_Avoidance: adjust for location flags being moved out of union 2019-01-16 11:45:29 +11:00
Andrew Tridgell 935c9167ab AP_Avoidance: added semaphore 2018-08-25 15:44:36 +10:00
Tom Pittenger 7134a4bdf6 AP_Avoidance: track src with correct label - use MAVLink label 2018-05-25 12:44:59 +09:00
Andrew Tridgell c4fafa490f AP_Avoidance: fixed use of fabs() 2018-05-07 11:43:23 +10:00
Matt b5bdaa18ac AP_AVOIDANCE: Minimum altitude for avoidance action 2017-12-30 13:50:42 -08:00
Lucas De Marchi 46e8d9b6d1 AP_Avoidance: add static create method for AP_Avoidance_* 2017-09-26 03:01:21 +01:00
murata 75f744591e AP_Avoidance: Change the determination place of the index value. 2017-05-25 23:23:16 +01:00
Dr.-Ing. Amilcar Do Carmo Lucas 8bd51fa068 AP_Avoidance: 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
2017-05-17 18:07:25 +10:00
Michael du Breuil c079532a7a AP_Avoidance: Remove unutilized get_destination_perpendicular 2017-02-13 09:23:14 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas 8032ed295d AP_Avoidance: add units to param descriptions 2017-01-09 13:25:33 +09:00
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.
2016-11-02 16:04:47 -02:00
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.
2016-10-24 09:42:01 -02:00
Tom Pittenger 330c63b010 AP_Avoidance: handle condition where avoid is disabled while avoiding 2016-08-17 22:38:54 -07:00
Tom Pittenger c06b63b4cd AP_Avoidance: provide different default params for copter vs plane
copter is unchanged, plane has larger distances
2016-08-17 22:38:54 -07:00
Tom Pittenger 0d14941eea AP_Avoidance: set param "Enable" to be FLAG_ENABLE 2016-08-04 11:30:39 -07:00
Peter Barker 89fbf23012 AP_Avoidance: get_location becomes a method on adsb rather than a abds vehicle 2016-07-25 20:24:37 +09:00
Peter Barker b5c1019aac AP_Avoidance: adsb based avoidance library 2016-07-25 20:24:37 +09:00