Commit Graph

29 Commits

Author SHA1 Message Date
Peter Barker a65cd27435 AP_Beacon: allow hwdefs to override number of beacons
... also a few other variables.

Also move these out of the main header file as one is internal and the others should go in the ocnfig. in case the values are used elsewhere
2024-08-26 13:48:02 +10:00
Peter Barker 87d694414b AP_Beacon: use enum class for type 2024-06-24 18:24:11 +10:00
Andrew Tridgell bac6d6f644 AP_Beacon: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Peter Barker 6e27488bfd AP_Beacon: allow compilation with HAL_LOGGING_ENABLED false 2024-01-17 18:25:55 +11:00
Peter Barker 694ad90ee7 AP_Beacon: add and use AP_BEACON_ENABLED 2022-11-16 08:16:31 +11:00
Peter Barker 39b7f63140 AP_Beacon: stop passing serialmanager into beacon constructor 2022-06-11 16:02:37 +10:00
Peter Barker bbcf0a0968 AP_Beacon: move logging of Beacon into Beacon library 2022-04-13 16:22:19 +10:00
Peter Barker e158bab893 AP_Beacon: tidy constructors 2021-10-23 10:10:28 +11:00
Iampete1 280171e96b AP_Beacon: hide params with enable flag 2021-08-24 09:38:46 +10:00
Pierre Kancir 0a922426a2 AP_Beacon: fix comparison order to prevent using wrong beacon_instance first 2021-08-11 15:17:08 +10:00
Andrew Tridgell 3f4c605361 AP_Beacon: added const 2020-11-11 16:14:22 -08:00
chobits c5e289efc3 AP_Beacon: Nooploop driver
based on rmackay9's work
2020-10-15 08:07:46 +09:00
murata a8af4b2937 AP_Beacon: Change the tab code to whitespace 2020-04-27 09:32:56 +09:00
Peter Barker da81c5fe39 AP_Beacon: do not include fence closing/duplicate point in polygon boundary 2019-05-29 15:34:02 +10:00
Peter Barker 1c7a8c1509 AP_Beacon: correct parameter documentation to include SITL 2019-05-28 09:16:47 +10:00
Peter Barker 8ce4f73550 AP_Beacon: add singleton 2019-05-22 07:48:02 -06:00
Peter Barker ae8862f266 AP_Beacon: add floating point constant designators 2019-04-05 23:04:17 -07:00
Peter Barker 0b661e7872 AP_Beacon: adjust for Location_Class and Location unification 2019-01-16 11:45:29 +11:00
Peter Barker 1075227c90 AP_Beacon: adjust for location flags being moved out of union 2019-01-16 11:45:29 +11:00
Randy Mackay a303c40f1f AP_Beacon: initialise counter in get_next_boundary_point
This is not a bug but at least one compiler has complained about this
2017-06-20 16:34:41 +09:00
Randy Mackay a199604348 AP_Beacon: fix get_boundary_points num_points
Thanks @OXINARF for finding this!
2017-06-15 09:36:27 +09:00
Randy Mackay cded78022c AP_Beacon: update_boundary_points calculates outer perimeter around beacons 2017-06-14 16:07:32 +09:00
Shingo Matsuura c9475c2747 AP_Beacon: add get_boundary_points 2017-06-14 16:07:32 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas 24aa52a24d AP_Beacon: 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
Dr.-Ing. Amilcar Do Carmo Lucas 119696bea3 AP_Beacon: added units in the comments documentation, to make the API easier to use 2017-05-16 14:46:07 +09:00
karthik.desai 44d84fca15 AP_Beacon: Added Marvelmind Beacon class
Code cleanup, adhering to Ardupilot code style
Marvelmind code fixes
formatting fixes including replacing camel case with underscore
replaced puts with ::printf
removed unused debug and counter

Removed useless library includes.
Corrected spellings.
Update the last_update_ms so healthy() doesn't break.
2017-04-26 11:59:20 +09:00
murata 6045612011 AP_Beacon: combine duplicate checks into device_ready method 2016-12-24 12:11:53 +09:00
Randy Mackay 08619a96be AP_Beacon: remove debug and editor settings
thanks to muramura for spotting this
2016-12-01 14:53:16 +09:00
Randy Mackay 821fc516fb AP_Beacon: library to accept distances from beacons 2016-11-30 17:56:37 +09:00