added
git-svn-id: http://moon:8086/svn/matlab/trunk@100 801c6759-fa7c-4059-a304-17956f83a07c
This commit is contained in:
Executable
+15
@@ -0,0 +1,15 @@
|
||||
function flexRET_eval(tilt_ref)
|
||||
|
||||
%tilt_ref = 3356
|
||||
tilt_min = 4000;
|
||||
unload_steps = 560;
|
||||
|
||||
tilt_target_distance = tilt_min - unload_steps
|
||||
|
||||
tooth_steps = 360/14*4
|
||||
|
||||
k = fix(tilt_target_distance / tooth_steps + 0.5)
|
||||
tilt_min_raster = fix(tilt_ref + k*tooth_steps + 0.5)
|
||||
|
||||
probe = (tilt_min_raster-tilt_ref) / tooth_steps
|
||||
|
||||
Reference in New Issue
Block a user