Randy Mackay
eff86c88ab
AP_Proximity: reorder method declarations and implementations
2022-08-24 18:26:27 +10:00
Randy Mackay
b6d133e285
AP_Proximity: reduce ignore areas to 4 per backend
2022-08-24 18:26:27 +10:00
Randy Mackay
6025b1dcaa
AP_Proximity: move params to separate class
...
simplies increasing the maximum number of backends
2022-08-24 18:26:27 +10:00
rishabsingh3003
5af59abb8f
AP_Proximity: Add orientation param to Cygbot
2022-08-22 19:12:45 -04:00
Randy Mackay
63db93c6d7
AP_Proximity: minor format fix
2022-08-17 10:46:57 +09:00
Randy Mackay
1dd2fb695c
AP_Proximity: minor format fix
2022-08-17 10:46:56 +09:00
Iampete1
ed330fd026
AP_Proximity: change AC_FENCE to AP_FENCE_ENABLED
2022-07-27 19:04:56 +10:00
Iampete1
1342fa4851
AP_Proximity: fix complation without fence
2022-07-27 19:04:56 +10:00
Iampete1
68b7293d9a
AP_Proximity: move to config.h pattern and only include log structures if enabled
2022-07-13 18:14:12 +10:00
Mirko Denecke
e52ca87cbc
AP_Proximity: fix misleading variable name for TerraRangerTower
2022-05-11 15:53:47 +09:00
Peter Barker
489f68f68e
AP_Proximity: tidy includes
2022-05-03 09:14:58 +10:00
xianglunkai
c853694f7a
AP_Proximity_Boundary_3D:correction of miswriting
2022-04-21 08:41:07 +09:00
Peter Barker
a62e08ee40
AP_Proximity: move logging of Proximity into Proximity library
2022-04-13 16:22:19 +10:00
Andy Piper
173a43e361
AP_Proximity: nuke clang warnings
2022-03-03 16:34:14 +11:00
Tatsuya Yamaguchi
4309fc817e
AP_Proximity: change variable type from float to uint8_t
2022-02-07 08:44:09 +09:00
Rishabh
6ceee23b85
AP_Proximity: Add parameter to allow manually setting range to sensors
2022-02-03 09:10:55 +09:00
Rishabh
ef20d749bf
AP_Proximity: Fix Cygbot_D1 driver CRC
2022-01-31 14:10:21 +09:00
khanasif786
c50b8597db
AP_Proximity: Removed AP_Proximity_LightWareSF40C_v09
...
deleted older drivers for fixing running out of flash space in some boards
2022-01-07 08:28:59 +09:00
Andrew Tridgell
93d8a0606f
AP_Proximity: use have_serial when detecting
...
avoid find_serial() as it changes port options
2021-12-21 11:07:44 +11:00
Rishabh
6dea779b1e
AP_Proximity: Add Cygbot D1
2021-12-03 08:02:50 +09:00
Sebastian Quilter
1fb1eb793f
AP_Proximity: make rangefinder ranges m rather than cm
2021-10-21 21:28:53 +11:00
Iampete1
25aedc4ee7
AP_Proximity: lower SF45B update rate
2021-09-26 20:26:20 +09:00
Josh Henderson
f534a315ea
AP_Proximity: use vector.xy().length() instead of norm(x,y)
2021-09-14 10:43:46 +10:00
Iampete1
9bcd706dae
AP_Proximity: hide params with enable flag
2021-08-24 09:38:46 +10:00
bugobliterator
02c0ce175e
AP_Proximity: change class name from SITL::SITL to SITL::SIM
2021-08-05 07:25:31 +10:00
Tatsuya Yamaguchi
1954f596b8
AP_Proximity: fix proximity status for upward facing rangefinder
2021-06-16 17:41:45 +09:00
Rishabh
cb911a01e2
AP_Prox: Add plane intersection code to closest_point_from_segment_to_obstacle
2021-06-12 13:31:52 +09:00
Rishabh
acfdf6a38f
AP_Proximity: remove mavlink boundary clearing conditions
2021-05-02 20:03:56 -04:00
Rishabh
359327c7a3
AP_Proximity: add temp boundary class
2021-04-19 14:23:26 +09:00
murata
7d3a1739d8
AP_Proximity: Integrate the judgment
2021-04-19 09:08:27 +09:00
Rishabh
5e5ca6e02a
AP_Proximity: Check for stray faces and add new param for filter cut off freq
2021-04-05 14:09:17 +09:00
Rishabh
1dc67fb932
AP_Proximity: Change parameter defaults
2021-04-05 13:43:28 +09:00
Randy Mackay
1fad5d46e7
AP_Proximity: add #if HAL_PROXIMITY_ENABLED
2021-03-26 16:22:46 +09:00
Rishabh
e9c0e50185
AP_Proximity: Filter out land detected by sensors
2021-03-09 11:02:26 +09:00
Rishabh
044e1850d4
AP_Proximity: Add a low pass filter per face for distances
2021-03-08 16:33:20 +09:00
Tatsuya Yamaguchi
ecf928d68b
AP_Proximity: change PRX_IGN_WIDx range from 45 to 127
2021-03-04 17:40:07 +09:00
Peter Barker
9a66a1564c
AP_Proximity: only send distance_sensor messages if valid data seen
...
In the case you only have a forward-pointing LIDAR we'd send messages
for each of the other orientations from proximty's horizontal-distances
array, chewing up bandwidth and processing time.
2021-02-23 10:02:47 +09:00
Rishabh
f107ce3951
AP_Proximity: Use 3 sectors for simple avoidance boundary
2021-02-12 16:48:16 +09:00
Rishabh
8cab737bdd
AP_Proximity: Follow NED convention
2021-02-12 16:48:16 +09:00
Peter Barker
ee2f615352
AP_Proximity: RPLidarA2: correct face distances are assigned to
2021-02-04 16:57:48 +11:00
Rishabh
de67e2b70c
AP_Proximity: refactor changes done for 3-D Boundary
2021-02-01 14:34:13 +09:00
Rishabh
343ba1a693
AP_Proximity: Use only valid boundary for Simple Avoidance
2021-02-01 14:34:13 +09:00
Randy Mackay
71d928aab9
AP_Proximity: TeraRangerTowerEvo uses modified Boundary_3D interface
2021-02-01 14:34:13 +09:00
Randy Mackay
5c9a65cff6
AP_Proximity: TeraRangerTower uses modified Boundary_3D interface
2021-02-01 14:34:13 +09:00
Randy Mackay
d4a6ebd273
AP_Proximity: SITL backend uses modified Boundary_3D interface
2021-02-01 14:34:13 +09:00
Randy Mackay
518078c901
AP_Proximity: RPLidarA2 uses modified Boundary_3D interface
2021-02-01 14:34:13 +09:00
Randy Mackay
babba91632
AP_Proximity: RangeFinder backend uses modified Boundary_3D interface
2021-02-01 14:34:13 +09:00
Randy Mackay
2d77adf720
AP_Proximity: MAV backend uses modified Boundary_3D interface
2021-02-01 14:34:13 +09:00
Randy Mackay
a65e0affe4
AP_Proximity: LightwareSF45B uses modified Boundary_3D interface
2021-02-01 14:34:13 +09:00
Randy Mackay
623bd6923e
AP_Proximity: LightwareSF40C_v09 uses update Boundary_3D interface
2021-02-01 14:34:13 +09:00
Randy Mackay
4fda6b38f7
AP_Proximity: LightwareSF40C uses modified Boundary_3D interface
2021-02-01 14:34:13 +09:00
Randy Mackay
ad899de78c
AP_Proximity: backend uses modified Boundary_3D interface
2021-02-01 14:34:13 +09:00
Randy Mackay
ef9bc64bb1
AP_Proximity: AirSimSITL uses modified Boundary_3D interface
2021-02-01 14:34:13 +09:00
Randy Mackay
279b534f67
AP_Proximity: remove duplicate definition
...
PROXIMITY_NUM_LAYERS is defined in AP_Proximity_Boundary_3D
2021-02-01 14:34:13 +09:00
Randy Mackay
5a0cc08dcc
AP_Proximity: refactor Boundary_3D
...
rename stack to layer
swap order of layer and sector within arrays
rename Boundary_Location to Face
rename get_sector to get_face
rename set_attributes to set_face_attributes
get_distance returns bool and fills in argument instead of returning distance
2021-02-01 14:34:13 +09:00
Rishabh
43717ea55c
AP_Proximity: Add OBSTACLE_DISTANCE_3D mavlink message
2021-02-01 14:34:13 +09:00
Rishabh
36bba2e02c
AP_Proximity: Convert Proximity Backend drivers to use 3D Boundary methods
2021-02-01 14:34:13 +09:00
Rishabh
4fce715a9a
AP_Proximity: Shift methods to Proximity_Boundary_3D class and support 3D Boundary
2021-02-01 14:34:13 +09:00
Rishabh
7569d8bf8e
AP_Proximity: Add AP_Proximity_Boundary_3D class
2021-02-01 14:34:13 +09:00
Rishabh
c1d67705ce
AP_Proximity: Remove Morse backend
2020-11-18 20:23:45 +11:00
Randy Mackay
4381eff482
AP_Proximity: simplify get_horizontal_distances
...
no need to fill in missing orientations. This is only used for reporting to the ground stations
2020-10-06 20:52:29 +11:00
Randy Mackay
e081d83185
AP_Proximity: Lightware SF45B driver
2020-10-06 20:52:29 +11:00
Randy Mackay
63a21c6c12
AP_Proximity: add correct_angle_for_orientation to backend
2020-10-06 20:52:29 +11:00
Randy Mackay
cf020e1d84
AP_Proximity: minor spelling fix for SF40c assert
2020-10-06 20:52:29 +11:00
Peter Barker
460bb7291e
AP_Proximity: remove unused variables
2020-10-01 21:13:20 +10:00
Peter Barker
945d19a9c5
AP_Proximity: resolve ambiguity about which distance is in which sector
2020-08-17 11:20:12 +10:00
Peter Barker
574f3a30f9
AP_Proximity: correct output of DISTANCE_SENSOR message
2020-08-17 11:20:12 +10:00
chobitsfan
760e86ff4d
AP_Proximity: remove unused definition
...
`bool initialise()` is not implemented. Maybe it would be better to remove its definition
2020-07-24 15:35:53 +09:00
Rishabh
8e586bc67d
AP_Proximity: Check for valid reading before pushing to OA DB
2020-07-10 15:48:59 +09:00
Randy Mackay
2ca0d400a6
AP_Proximity: remove incorrect comment from SF40c
2020-07-06 13:54:17 +09:00
Rishabh
9b5922786e
AP_Proximity: Push 3D data into OA_DB
2020-06-19 09:45:34 +09:00
Randy Mackay
ff0460342b
AP_Proximity: minor comment fix
2020-06-05 16:57:39 -07:00
Andras Schaffer
43bef1ac9e
AP_Proximity: fix proximity ignored zone calulation
...
It seems there was a typo in the checking of proximity ignored zones.
2020-06-03 16:11:55 +09:00
Iampete1
3618607746
AP_Proximity: AirSimSITL: fix left right swap
2020-04-28 09:37:59 +10:00
Peter Barker
1190b9ff19
AP_Proximity: TeraRangerTower uses intermediate serial class
2020-02-19 11:12:37 +09:00
Peter Barker
107c424a5c
AP_Proximity: LightWareSF40C_v09 uses intermediate serial class
2020-02-19 11:12:37 +09:00
Peter Barker
97320e8938
AP_Proximity: TeraRangerTowerEvo uses intermediate serial class
2020-02-19 11:12:37 +09:00
Peter Barker
0d4e72622e
AP_Proximity: RPLidarA2 uses intermediate serial class
2020-02-19 11:12:37 +09:00
Peter Barker
788e466c90
AP_Proximity: LightWareSF40C used intermediate serial class
2020-02-19 11:12:37 +09:00
Peter Barker
fcdb833f46
AP_Proximity: add intermediate AP_Proximity_Backend_Serial class
2020-02-19 11:12:37 +09:00
Rajat Singhal
dccb95efce
AP_Proximity: Fix Airsim Proximity sector update
...
Distance equals least distance in that sector rather than last point sampled
2020-01-08 09:10:54 +09:00
Randy Mackay
dac84f4a9d
AP_Proximity: integrate oadb ekf-offset change
2020-01-01 13:38:41 +09:00
Randy Mackay
449b8d124b
AP_Proximity: remove unused get_horizontal_distance
2020-01-01 13:38:41 +09:00
Randy Mackay
10108819b1
AP_Proximity: sf40c combines seven readings for oadb
2020-01-01 13:38:41 +09:00
Randy Mackay
1d6519af72
AP_Proximity: always use 8 sectors and fix ignore areas
2020-01-01 13:38:41 +09:00
Randy Mackay
1d79ff11b8
AP_Proximity: integrate oadb::queue_push argument swap
2020-01-01 13:38:41 +09:00
Randy Mackay
f60ec91993
AP_Proximity: remove unnecessary const from database_push
...
also shorten current_vehicle_bearing argument to just current_heading
2020-01-01 13:38:41 +09:00
Peter Barker
3942fa2541
AP_Proximity: remove unused include from AP_Proximity_MAV
2019-12-09 11:25:02 +09:00
Peter Barker
cff648caf6
AP_Proximity: remove unused AP_AHRS.h include
2019-12-05 22:41:49 +11:00
Peter Barker
8785cc26e8
AP_Proximity: make Status enum class
2019-12-05 16:05:07 +11:00
Randy Mackay
49069c7ad5
AP_Proximity: new lightware SF40C driver
...
New driver using latest streaming interface
Old driver left in place because older devices cannot be updated
2019-11-15 12:25:53 +08:00
Randy Mackay
a747610fc1
AP_Proximity: backup lightware SF40C driver to v09
2019-11-15 12:25:53 +08:00
Peter Barker
0e6f3afe51
AP_Proximity: adjust for renaming of RangeFinder files
2019-11-12 07:14:37 +08:00
Peter Barker
39863bf0b4
AP_Proximity: remove empty constructors
...
Well, some of them were only essentially empty
2019-10-31 11:58:15 +08:00
Peter Barker
5b2689a7a8
AP_Proximity: use rangefinder singleton
2019-10-31 11:58:15 +08:00
Peter Barker
8fe16f5627
AP_Proximity: use enum class for status
2019-10-31 11:58:15 +08:00
Peter Barker
f5f6eb8231
AP_Proximity: correct checking of valid instance in various getters
2019-10-31 11:58:15 +08:00
Peter Barker
de7e3acc29
AP_Proximity: use enum class for proximity type
...
Removes verbiage from AP_Proximity.cpp
2019-10-31 11:58:15 +08:00
Peter Barker
4962b7a98e
AP_Proximity: stop passing serial manager around, use singleton
2019-10-31 11:58:15 +08:00
Andrew Tridgell
c7fce7568e
AP_Proximity: use strtof instead of atof
...
we don't need double precision
2019-10-28 15:53:16 +11:00