A DroneCAN proximity sensor has no range set
What ArduPilot says:
- Configure PRXN_MIN and PRXN_MAX
A DroneCAN proximity sensor was found, and both its PRXn_MIN and PRXn_MAX are 0. The sensor still works, but what the ground station is told about its range will be wrong. The number in the message counts from 0: “Configure PRX0_MIN and PRX0_MAX” is about PRX1_MIN and PRX1_MAX.
What to do, most likely first
The range of the sensor was never entered.
FixSet
PRXn_MINandPRXn_MAXto the shortest and longest distance the sensor measures, in metres, from its manual.
Parameters to look at
| Parameter | What it is |
|---|---|
PRX1_MIN | Proximity minimum range |
PRX1_MAX | Proximity maximum range |
PRX2_MIN | Proximity minimum range |
PRX2_MAX | Proximity maximum range |
The code that sends it
Configure PRXN_MIN and PRXN_MAX
libraries/AP_Proximity/AP_Proximity_DroneCAN.cpp AP_Proximity_DroneCAN::get_dronecan_backend() · Open in ArduPilot Copter-4.7.1