Skip to content

Commit 15e356d

Browse files
committed
gripper control
1 parent afc90ed commit 15e356d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

launchGameControl.groovy

+3
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,11 @@ IJInputEventListener listener = new IJInputEventListener() {
6565

6666
}
6767
if(comp.getName().equals("Y Rotation")){
68+
dev.setGripperPosition(0.7);
6869
println "grip!"
6970

71+
} else {
72+
dev.setGripperPosition((float)0.2);
7073
}
7174
println current
7275
//println comp.getName()

0 commit comments

Comments
 (0)