drivers/distance_sensor: New Broadcom AFBR-S50LV85D distance sensor driver

* Basic Broadcom AFBR-S50 driver using vendor API and binary blob https://github.com/Broadcom/AFBR-S50-API
* fix ARK Flow paw3902 rotation
This commit is contained in:
AlexKlimaj
2021-06-15 12:12:24 -04:00
committed by GitHub
parent e828ba4288
commit dddd2c3297
51 changed files with 7753 additions and 37 deletions
@@ -48,7 +48,7 @@ public:
// Set the MAV_DISTANCE_SENSOR type (LASER, ULTRASOUND, INFRARED, RADAR)
void set_rangefinder_type(uint8_t rangefinder_type) { _distance_sensor_pub.get().type = rangefinder_type; };
void set_device_id(const uint8_t device_id) { _distance_sensor_pub.get().device_id = device_id; };
void set_device_id(const uint32_t device_id) { _distance_sensor_pub.get().device_id = device_id; };
void set_device_type(const uint8_t device_type);
void set_fov(const float fov) { set_hfov(fov); set_vfov(fov); }