differentiate left and right obstacles