Adjust motor oscillation and SetRadCol command

Count full cycles on motor oscillate
Add logging on motor oscillate
Add "motor oscillate start high/low" options
Remove SetRadCol offset because it is not needed
This commit is contained in:
Douglas Clowes
2014-07-03 12:12:52 +10:00
parent 1134aa815b
commit 81554ee0d7
2 changed files with 59 additions and 15 deletions

View File

@@ -17,8 +17,9 @@ catch {
#ffr Changed 0.5 to 0.2 on 30/06/2014 because
# oct hits upper limit switch at about 1.27 degrees
# with new "oct oscillate" command.
oct oscillate_low [expr -abs($range/2.0) - 0.2]
oct oscillate_high [expr abs($range/2.0) + 0.2]
#dcl Removed 0.2 because old osc limits it to +/-1.0
oct oscillate_low [expr -abs($range/2.0)]
oct oscillate_high [expr abs($range/2.0)]
set spd [expr 2.0*$range / $time]
oct maxretry 5