def handle_reset_simulation(self, req):
    'Callback to handle the service offered by this node to reset the simulation'
    self.get_logger().info('reseting simulation now')
    self.pause_simulation = True
    self.pb.resetSimulation()
    self.init_pybullet_robot()
    self.pause_simulation = False
    return []
Callback to handle the service offered by this node to reset the simulation
def handle_reset_simulation(self, req):
    
    self.get_logger().info('reseting simulation now')
    self.pause_simulation = True
    self.pb.resetSimulation()
    self.init_pybullet_robot()
    self.pause_simulation = False
    return []