?? actuator_init.m
字號:
function actuator_init% Distributed control system: actuator node%% Receives messages from the controller and actuates % the plant.% Initialize TrueTime kernelttInitKernel(0, 1, 'prioFP'); % nbrOfInputs, nbrOfOutputs, fixed priority% Create actuator taskdeadline = 100;prio = 1;ttCreateTask('act_task', deadline, prio, 'actcode');% Initialize networkttCreateInterruptHandler('nw_handler', prio, 'msgRcvActuator');ttInitNetwork(2, 'nw_handler'); % node #2 in the network
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -