Task: Pick up a credit card, turn on a lamp

Objects in the environment:
  id   object_type     position_x     position_y     position_z     rotation_x     rotation_y     rotation_z     parent_receptacle
----  --------------  -------------  -------------  -------------  -------------  -------------  -------------  --------------------
   0  Agent           -2.75          0.901          4.0            0              270            0
   1  Watch           -4.919         0.988          2.310          0              0              0              34
   2  KeyChain        -2.405         0.453          2.744          0              0              0              37
   3  KeyChain        -4.608         0.886          1.920          0              90             0              35
   4  RemoteControl   -4.832         0.990          2.879          0              0              0              34
   5  RemoteControl   -4.919         0.990          2.595          0              0              0              34
   6  CreditCard      -0.129         0.707          4.619          0              0              0              42
   7  Box             -4.668         0.405          3.375          0              90             0              31
   8  WateringCan     -0.277         -0.000         4.860          0              0              0              Floor|+00.38|
   9  CreditCard      -0.417         0.549          1.714          0              0              0              39
  10  KeyChain        -2.279         0.453          2.455          0              0              0              37
  11  Pillow          -0.417         0.611          3.311          0              0              0              38
  12  Laptop          -4.873         0.981          3.44           0              83.878         0              34
  13  RemoteControl   -4.569         0.990          2.879          0              0              0              34
  14  Watch           -2.152         0.453          2.552          0              0              0              37
  15  Statue          -4.569         1.086          3.447          0              0              0              34
  16  Curtains        -2.535         2.596          0.111          0              0              0
  17  FloorLamp       -4.661         0.009          0.422          0              0              0
  18  Television      -4.883         1.472          2.434          0              90             0
  19  GarbageCan      -4.810         -0.032         1.236          0              180            0
  20  Painting        -0.293         1.820          0.016          90             0              0
  21  LightSwitch     -1.016         1.243          5.0            0              180            0
  22  Painting        -5.118         1.480          4.396          90             270            0
  23  Painting        -5.118         1.480          0.656          90             270            0
  24  Window          -1.715         1.554          0.006          90             180            0
  25  Window          -3.244         1.554          0.006          90             180            0
  26  DeskLamp        0.015          0.704          4.676          0              0              0
  27  HousePlant      -4.824         0.984          1.572          0              0              0
  28  Drawer          -4.497         0.901          2.854          0              90             0
  29  Drawer          -4.497         0.901          2.339          0              90             0
  30  Cabinet         -4.409         0.498          2.603          0              90             0
  31  Cabinet         -4.409         0.498          3.622          0              90             0
  32  Drawer          -4.497         0.901          3.372          0              90             0
  33  Cabinet         -4.409         0.498          1.569          0              90             0
  34  Dresser         -4.744         4.321          2.595          0              90             0
  35  Drawer          -4.497         0.901          1.818          0              90             0
  36  Cabinet         -4.409         0.498          2.588          0              90             0
  37  CoffeeTable     -2.405         -0.000         2.546          0              0              0
  38  ArmChair        -0.298         0.002          3.310          0              270            0
  39  ArmChair        -0.298         0.002          1.713          0              270            0
  40  Sofa            -2.464         -0.002         0.700          0              0              0
  41  Chair           -4.735         0.011          4.609          1.215          90             0
  42  SideTable       -0.041         0.002          4.619          0              0              0
  43  NorthWall
  44  EastWall
  45  SouthWall
  46  WestWall

Plan:
STEP 1: Turn around and walk to the chair to the left of the sofa, closest to the window, and with a red credit card on it | STEP 2: Pick up the red credit card from the chair | STEP 3: Turn to your right and carry the credit card past the sofa in front of the window to the lamp to the right of the sofa | STEP 4: Turn on the lamp | END