Pierre Kancir
38540b4dcc
AP_Proximity: add PROXIMITY_MAX_DIRECTION and PROXIMITY_SENSOR_ID_START
8 years ago
Randy Mackay
33ef3bd51d
AP_Proximity: MAV driver gets distance validity check
8 years ago
Randy Mackay
0b7ec0dc64
AP_Proximity: validate range finder distances
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
adc919c7fc
AP_Proximity: 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
Dr.-Ing. Amilcar Do Carmo Lucas
6c14f498f7
AP_Proximity: Add missing @RebootRequired : True
8 years ago
Randy Mackay
3ad5c3775e
AP_Proximity: rename get_distances to get_horizontal_distances
...
Also fix existing bug in return
8 years ago
Randy Mackay
09e3d6b7f0
AP_Proximity_MAV: healthy if either horiz or vert positions received
8 years ago
Randy Mackay
fd94ab43fa
AP_Proximity: minor fix to param description
...
No functional change
8 years ago
Randy Mackay
a093bcb05f
AP_Proximity: add rangefinder driver
...
This allows avoidance using upward or forward facing range finders
8 years ago
Luis Rodrigues
27c5aca6b5
AP_Proximity: add support for TeraRangerTower
8 years ago
Randy Mackay
a47e215a8e
AP_Proximity: add get_upward_distance
...
This allow support for upward facing proximity sensor received through a DISTANCE_SENSOR message.
Also added SITL test
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
bebb128d22
AP_Proximity: Add missing parameter units
8 years ago
Randy Mackay
6aeef76768
AP_Proximity: fix get_boundary_points in case of multiple sensors
8 years ago
Randy Mackay
7c7144fd8f
AP_Proximity: minor comment spelling fix
8 years ago
Randy Mackay
74f1899aeb
AP_Proximity: boundary_points requires only one valid distance
...
Object avoidance is possible with just one valid distance
Boundary is initialised in new init_boundary function to be 100m from
vehicle
If sectors do not have valid distance measurements, we use the distance
from adjacent sectors. This conveniently leads to a concave shaped
boundary that keeps the vehicle from travelling into the dataless sector.
8 years ago
Randy Mackay
a0a8472a44
AP_Proximity: fix consumption of distance-sensor messages
8 years ago
Randy Mackay
d4daa10045
AP_Proximity: add MAV type to parameter descriptions
8 years ago
murata
c2521dd650
AP_Proximity: Change sprintf method to secure snprintf method.
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
8419045aea
Spell in comments
8 years ago
Randy Mackay
e497dedf35
AP_Proximity: add MAV type
...
This accepts DISTANCE_SENSOR messages from eight sectors around the vehicle
8 years ago
Randy Mackay
2076da3a72
AP_Proximity: minor comment fix
...
No functional change
8 years ago
Randy Mackay
fbbd13db75
AP_Proximity: add get_object methods for use with non-GPS avoidance
8 years ago
Randy Mackay
54a87ad35c
AP_Proximity: set minimum boundary distance
...
AC_Avoidance will not stop if it thinks the vehicle is on or outside the polygon. Setting a minimum distance ensures the vehicle is always within the polygon.
8 years ago
Randy Mackay
57ae14ab4c
AP_Proximity: add get distances, distance_max, distance_min
...
These are used to send distance-sensor messages to the ground station
8 years ago
Randy Mackay
6293fa1595
AP_Proximity: add boundary points for object avoidance
...
This returns a fence which can be used for object avoidance by AC_Avoidance
8 years ago
Randy Mackay
26332251f5
AP_Proximity: add ignore areas
...
Only SF40c uses these ignore areas for now at least.
It is safe to increase the eeprom locations for the 2nd proximity instance because we only define a single instance.
8 years ago
Randy Mackay
87dea46f5d
AP_Proximity: add get_closet_object for use in pre-arm checks
8 years ago
Randy Mackay
a56c9545bd
AP_Proximity: SITL driver filles in backend sector data
8 years ago
Randy Mackay
f594a5a7d6
AP_Proximity: move sectors to backend
...
This prepares for sectors to be re-used by the SITL driver
8 years ago
Andrew Tridgell
ae2dc5570e
AP_Proximity: added SITL proximity backend
...
using fence points for avoidance
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.
8 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.
8 years ago
Randy Mackay
c3087edbe8
AP_Proximity: add library and SF40C driver
8 years ago