c.1340, from O.Fr.
ostacle "hindrance," from L.
obstaculum "a hindrance, obstacle," from
obstare "stand opposite to, block, hinder," from
ob "against" +
stare "to stand," from PIE base
*sta- "to stand" (see
stet).
"The lover thinks more often of reaching his mistress than the husband of guarding his wife; the prisoner thinks more often of escaping than the gaoler of shutting his door; and so, whatever the obstacles may be, the lover and the prisoner ought to succeed." [Stendhal]
Obstacle course is attested from 1973.