Solve mini pillar widening in DefaultWideningStrategy
This commit is contained in:
parent
58acc893b3
commit
d4a46d373a
1 changed files with 1 additions and 1 deletions
|
@ -723,7 +723,7 @@ struct DefaultWideningModel {
|
|||
"DefaultWideningModel is not a widening function");
|
||||
|
||||
double w = WIDENING_SCALE * sm.cfg.pillar_widening_factor * len;
|
||||
return src.R + w;
|
||||
return std::max(src.R, sm.cfg.head_back_radius_mm) + w;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue