Skip to content

Instantly share code, notes, and snippets.

@aosterthun
Created February 5, 2018 21:30
Show Gist options
  • Save aosterthun/bb1743ae90fe2706d5554ee6e8a87c91 to your computer and use it in GitHub Desktop.
Save aosterthun/bb1743ae90fe2706d5554ee6e8a87c91 to your computer and use it in GitHub Desktop.
import sys
import time
import pyrgbdcalib
if __name__ == '__main__':
daemon = pyrgbdcalib.KinectDaemon("141.54.147.108","141.54.147.106")
recording = daemon.record("/opt/kinect-resources/rgbd-framework/rgbd-daemon/kinect_recordings/rgbdri_rec_3.stream","141.54.147.108:7000",4)
time.sleep(5)
recording.stop()
time.sleep(5)
play_recording = daemon.play(recording.filename(),"141.54.147.108:7001",4)
time.sleep(10)
play_recording.stop()
while True:
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment