added a waitforservice to wait the simulated environment to wake up before looking for a ground plane for the detection