Files
tell/script/test/TestBugPcAPI2.py
gac-S_Changer bdf5049f96 Creation
2018-12-03 12:17:40 +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)