Watch the Groove in 4 #2 online guitar lesson by Kai Eckhardt from Atomic Bass: Time Continuum

Here is a detailed explanation of all the little parts making up this bassline. Some segments are looped and the bassline is slowed down extremely to allow a microscopic view of the rhythmic elements at play.