apollo
apollo copied to clipboard
When building st_boundary map, why 'forward_distance = vehicle_param_.length()+vehicle_param_.width() + obs_box.length() + obs_box.width();'?
For safety?
This is an upper bound when estimating the overlap range between adc and obstacle box.
@startcode Yeah, i understand what you mean, but why add width? Isn't it OK when only satisfy the longitudinal?
If we consider the headings, adding their widths might be an easy way for an upper bound guess.
@jilinzhou Ok, i understand. Thank you.