Doing wrong mapping of pixel coords to down sampled obstacle index
Setting obstacle position beyond the image limits (negative index)
After trying to fix, it was obvious that wasn't doing anything useful
for obstacle avoidance since it always create obstacle for every down
sampled segment and was extremely susceptible to input noise.
It was broken in many aspects:
After trying to fix, it was obvious that wasn't doing anything useful for obstacle avoidance since it always create obstacle for every down sampled segment and was extremely susceptible to input noise.
Signed-off-by: Murilo Belluzzo murilo.belluzzo@intel.com