Skip to content
This repository was archived by the owner on Jul 28, 2021. It is now read-only.

Commit 1adf779

Browse files
Very minor change to input of virtualPlane
Removed an unnecessary argument passed to virtualplane
1 parent 7492277 commit 1adf779

7 files changed

Lines changed: 13 additions & 10 deletions

File tree

Utils/configobj.pyc

0 Bytes
Binary file not shown.

Utils/validate.pyc

0 Bytes
Binary file not shown.

Utils/virtualPlane.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def useDefaultView(self):
118118

119119

120120

121-
def attachViewToGlasses(self,visNode,glassesRigid):
121+
def attachViewToGlasses(self,visNode):
122122

123123
"""
124124
Create tracker object that represents the users head position, specifically the center of the eyes.

caveWallDimensions.cave

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<nearPlane>0.100000</nearPlane>
44
<wall>
55
<name>floor</name>
6-
<upperLeft>-1.186075 0.000000 2.121046</upperLeft>
7-
<upperRight>1.401030 0.000000 2.106692</upperRight>
8-
<lowerLeft>-1.207397 0.000000 -2.433407</lowerLeft>
9-
<lowerRight>1.395413 0.000000 -2.405881</lowerRight>
6+
<upperLeft>-1.189208 0.000000 2.129075</upperLeft>
7+
<upperRight>1.372727 0.000000 2.121089</upperRight>
8+
<lowerLeft>-1.184819 0.000000 -2.400250</lowerLeft>
9+
<lowerRight>1.391910 0.000000 -2.347974</lowerRight>
1010
</wall>
1111
</vizcave>

main.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1234,7 +1234,10 @@ def setupShutterGlasses(self):
12341234
shutterRigid = config.mocap.returnPointerToRigid('shutter') # Here,
12351235
shutterRigid.link_pose(eyeSphere.node3D)
12361236

1237-
self.config.virtualPlane.attachViewToGlasses(eyeSphere.node3D,shutterRigid)
1237+
self.config.virtualPlane.attachViewToGlasses(eyeSphere.node3D)
1238+
1239+
###
1240+
12381241

12391242
def setupFeet(self):
12401243

@@ -1778,8 +1781,8 @@ def checkObs():
17781781
print experimentObject.currentTrial.obsObj.collisionBox.physNode.body.getPosition()
17791782

17801783

1781-
#vizshape.addAxes().setScale([0.5, 0.5, 0.5])
1782-
#vizshape.addBox(size=(0.05,0.05,0.05))
1784+
#ax = vizshape.addAxes().setScale([0.5, 0.5, 0.5])
1785+
#box = vizshape.addBox(size=(0.05,0.05,0.05))
17831786
# experimentObject.config.mocap.get_MarkerPos(0,0.5)
17841787

17851788
viz.MainWindow.setStereoSwap(viz.TOGGLE)

performLabVR2.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
displays = 2,
2+
displays = 3,
33

44
use_phasespace = true
55

vizConnect/virtualPlane.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def initDisplays(initFlag=vizconnect.INIT_INDEPENDENT, initList=None):
7070
_window = viz.MainWindow
7171

7272
#VC: set the fullscreen monitor
73-
viz.window.setFullscreenMonitor(2)
73+
viz.window.setFullscreenMonitor(3)
7474
viz.window.setFullscreen(True)
7575

7676
#VC: set some parameters

0 commit comments

Comments
 (0)