Real-time obstacle detection on a massively parallel linear architecture