code: def rotate_frame(x, y, theta):
      x_rot = np.cos(theta) * x - np.sin(theta) * y
      y_rot = np.sin(theta) * x + np.cos(theta) * y
      return x_rot, y_rot
  
imports: import copy
  import numpy
  import gym
  import abc
  import math
  from osim.env import L2M2019Env
  from parl.utils import logger
label_desc: Use image node_id 1 for calling a global function with example usage: rotate_frame(x, y, theta) and returns: x_rot,  y_rot