Don't remove MakeAsyncQueue and MakeAsyncProtocol commands in ofac.c, we need them for the kowari/sylvac.tcl and for the robot.

Save positmotor indexed positions for Quokka

r2730 | ffr | 2008-11-03 18:20:34 +1100 (Mon, 03 Nov 2008) | 4 lines
This commit is contained in:
Ferdi Franceschini
2008-11-03 18:20:34 +11:00
committed by Douglas Clowes
parent 2734e05a73
commit c791fc65c7
6 changed files with 38 additions and 12 deletions

View File

@@ -175,8 +175,10 @@ namespace eval ::sobj::positmotor {
set parnode ${motor}_motor
MakeSICSObj $parnode SCT_MOTOR
# Make setable position parameter and poll it.
VarMake $param float user
hattach /sics/${parnode} $param $param
set posindex_node /sics/${parnode}/${param}
hfactory $posindex_node plain spy float
# hfactory $posindex_node plain spy float
hsetprop $posindex_node read ${ns}::rd_index $param $motor
hsetprop $posindex_node state_reading_index ${ns}::state_reading_index $posindex_node $param $motor
hsetprop $posindex_node write ${ns}::w_index $sct_controller $posindex_node $param $motor