Gaussian control barrier functions : A Gaussian process based approach to safety for robots