-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Emmanuel Geoffray
committed
Feb 18, 2015
1 parent
10a4eef
commit 9364348
Showing
4 changed files
with
12 additions
and
8 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
from OSC import * #required, to install : sudo pip install pyOSC | ||
from time import sleep | ||
listen_address = '127.0.0.1' | ||
port = 5555 | ||
port = 8010 | ||
c = OSCClient() | ||
c.connect((listen_address, port)) # connect to our OSCServer | ||
bundle = OSCBundle("/pyying/shoot") | ||
#bundle.setTimeTag(time.time() + 5) | ||
bundle.append ("1") | ||
while True: | ||
c.send(bundle) | ||
sleep(30) | ||
#while True: | ||
c.send(bundle) | ||
#sleep(30) | ||
#sleep(1) |