2017-09-03 03:01:58 +00:00
|
|
|
load psi
|
2016-09-04 10:22:29 +00:00
|
|
|
psi0.rt_prio = 10
|
|
|
|
psi0.dc_volt = hv0.dc_volt
|
2017-01-21 03:12:38 +00:00
|
|
|
psi0.u = hv0.u_fb
|
|
|
|
psi0.v = hv0.v_fb
|
|
|
|
psi0.w = hv0.w_fb
|
2017-09-03 03:01:58 +00:00
|
|
|
psi0.vel = vel1.vel
|
2016-09-04 10:22:29 +00:00
|
|
|
psi0.polecount = conf0.polecount
|
2017-09-03 03:01:58 +00:00
|
|
|
fault0.en = 0
|
|
|
|
fault0.brake_release = 1
|
2016-09-04 10:22:29 +00:00
|
|
|
vel1.en = 1
|
|
|
|
term0.wave0 = psi0.psi
|
|
|
|
term0.wave1 = psi0.max_psi
|
|
|
|
term0.gain0 = 500
|
|
|
|
term0.gain1 = 500
|
2017-09-03 03:01:58 +00:00
|
|
|
stop
|
|
|
|
start
|