intel / collision-avoidance-library

A framework for testing and benchmarking collision avoidance strategies
Apache License 2.0
81 stars 39 forks source link

[detector] Fix Obstacle Detector init #128

Closed rchiossi closed 7 years ago

rchiossi commented 7 years ago

If obstacle detector received an empty depth_frame it would return without setting the size of the obstacles vector, causing the vector to have UINT16_MAX size and invalid data.

Signed-off-by: Rodrigo Chiossi rodrigo.chiossi@intel.com

mbelluzzo commented 7 years ago

:+1: