YashsharmaPhD commited on
Commit
4104837
·
verified ·
1 Parent(s): f5d6cbd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -62,7 +62,9 @@ def render_sim(joint_values, gripper_val):
62
  add_joint_labels()
63
 
64
  # Camera
65
- width, height = 512, 512
 
 
66
  view_matrix = p.computeViewMatrix([1.5, 0, 1], [0, 0, 0.5], [0, 0, 1])
67
  proj_matrix = p.computeProjectionMatrixFOV(60, width / height, 0.1, 3.1)
68
  _, _, img, _, _ = p.getCameraImage(width, height, view_matrix, proj_matrix)
 
62
  add_joint_labels()
63
 
64
  # Camera
65
+ width, height = 1024, 1024 # or even 1280x1280
66
+
67
+ #width, height = 512, 512
68
  view_matrix = p.computeViewMatrix([1.5, 0, 1], [0, 0, 0.5], [0, 0, 1])
69
  proj_matrix = p.computeProjectionMatrixFOV(60, width / height, 0.1, 3.1)
70
  _, _, img, _, _ = p.getCameraImage(width, height, view_matrix, proj_matrix)