Files
mxsc/script/calibration/ScanRZ.py
gac-S_Changer d7570bcaf3
2017-11-29 09:37:22 +01:00

22 lines
297 B
Python

import plotutils
from mathutils import fit_gaussian, Gaussian
RANGE = [-20.0,20.0]
STEP = 1.0
LATENCY = 0.005
robot.enable()
move_to_laser()
robot.set_motors_enabled(True)
ret = lscan(robot_rz, ue.readable, RANGE[0], RANGE[1], STEP, latency = LATENCY, relative = True, range = "auto")