From 81552fc036be687d323339b3f0a861c24a1ffb20 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Thu, 26 Dec 2024 21:10:31 -0500 Subject: [PATCH] uavcan: relax UAVCAN_RNG_MIN/UAVCAN_RNG_MAX defaults (#24140) - this is optional sensor metadata that can be set if actually needed --- src/drivers/uavcan/uavcan_params.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/uavcan/uavcan_params.c b/src/drivers/uavcan/uavcan_params.c index edd2c41ea4c3..4e9253fbf60b 100644 --- a/src/drivers/uavcan/uavcan_params.c +++ b/src/drivers/uavcan/uavcan_params.c @@ -85,7 +85,7 @@ PARAM_DEFINE_INT32(UAVCAN_BITRATE, 1000000); * @unit m * @group UAVCAN */ -PARAM_DEFINE_FLOAT(UAVCAN_RNG_MIN, 0.3f); +PARAM_DEFINE_FLOAT(UAVCAN_RNG_MIN, 0.0f); /** * UAVCAN rangefinder maximum range @@ -95,7 +95,7 @@ PARAM_DEFINE_FLOAT(UAVCAN_RNG_MIN, 0.3f); * @unit m * @group UAVCAN */ -PARAM_DEFINE_FLOAT(UAVCAN_RNG_MAX, 200.0f); +PARAM_DEFINE_FLOAT(UAVCAN_RNG_MAX, 999.0f); /** * UAVCAN fuel tank maximum capacity