Files
X06SA/script/test/TestBugPcAPI2.py
gac-S_Changer 69d30a7b1e
2018-12-03 12:23:31 +01:00

6 lines
313 B
Python

import ch.psi.pshell.imaging.MjpegSource as MjpegSource
MjpegSource2 = get_context().pluginManager.getDynamicClass("MjpegSource2")
add_device(MjpegSource("gripper_cam", "http://axis-accc8e9cc87b.psi.ch/axis-cgi/mjpg/video.cgi"), True)
#gripper_cam.polling=1000
gripper_cam.monitored = True
show_panel(gripper_cam)