mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 16:03:34 +08:00
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:
@@ -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); }
|
||||
|
||||
Reference in New Issue
Block a user