Skip to content

Commit

Permalink
uavcan: relax UAVCAN_RNG_MIN/UAVCAN_RNG_MAX defaults
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 committed Dec 20, 2024
1 parent 6196135 commit d3cbf15
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 d3cbf15

Please sign in to comment.