Configuration spaces and braid groups on graphs in robotics