implemented basic threading using ros spinner for robot_simulator