summaryrefslogtreecommitdiffhomepage
path: root/digital/io-hub/src/common-cc/path.hh
diff options
context:
space:
mode:
Diffstat (limited to 'digital/io-hub/src/common-cc/path.hh')
-rw-r--r--digital/io-hub/src/common-cc/path.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/digital/io-hub/src/common-cc/path.hh b/digital/io-hub/src/common-cc/path.hh
index fc743291..b25d4235 100644
--- a/digital/io-hub/src/common-cc/path.hh
+++ b/digital/io-hub/src/common-cc/path.hh
@@ -108,6 +108,12 @@ class Path
static const int PATH_WEIGHT_PRECISION = 4;
/** Navigation points weight step (2^-n). */
static const int PATH_WEIGHT_STEP = 6;
+ /** Extra clearance area added to the radius of the mobile obstacles
+ * to counter the imprecision of the sonic sensors when the robot brakes */
+ static const uint16_t PATH_OBSTACLES_CLEARANCE = 60;
+ /** Extra clearance area added to the radius of the navigation points
+ * circle to move the navpoints away from the obstacle circle */
+ static const uint16_t PATH_NAVPOINTS_CLEARANCE = 40;
/** Borders, any point outside borders is eliminated. */
const uint16_t border_xmin, border_ymin, border_xmax, border_ymax;