Skip to content

Commit

Permalink
uavcan: relax UAVCAN_RNG_MIN/UAVCAN_RNG_MAX defaults (#24140)
Browse files Browse the repository at this point in the history
- this is optional sensor metadata that can be set if actually needed
  • Loading branch information
dagar authored Dec 27, 2024
1 parent fb2bdc0 commit 81552fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/drivers/uavcan/uavcan_params.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 81552fc

Please sign in to comment.