Compressive laser ranging with embedded systems