Skip to content

Commit 30e30fe

Browse files
committed
Jackhammer test script
1 parent ba2d0ed commit 30e30fe

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

scripts/jackhammer.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
from sensapex import UMP
2+
from ctypes import c_int, c_char
3+
4+
um = UMP.get_ump()
5+
6+
dev_id = 3
7+
axis = 3
8+
9+
for i in range(20):
10+
um.call("um_take_jackhammer_step", c_int(dev_id), c_char(axis), c_int(1), c_int(1), c_int(50), c_int(0), c_int(0))

0 commit comments

Comments
 (0)