add a pin mapping to all obstacles