27 lines
375 B
Python
27 lines
375 B
Python
import plotutils
|
|
from mathutils import fit_gaussian, Gaussian
|
|
|
|
RANGE = [180.0,-180.0]
|
|
STEP = 5.0
|
|
LATENCY = 0.005
|
|
RELATIVE = False
|
|
|
|
|
|
robot.set_tool(TOOL_DEFAULT)
|
|
|
|
robot.enable()
|
|
move_to_laser()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
robot.set_joint_motors_enabled(True)
|
|
ret = lscan(robot_rz, ue.readable, RANGE[0], RANGE[1], STEP, latency = LATENCY, relative = RELATIVE, range = "auto", title = "Scan2")
|
|
|
|
|
|
|
|
|