2017-09-03 03:02:24 +00:00
|
|
|
load acim_ttc
|
|
|
|
acim_ttc0.rt_prio = 9
|
2019-06-03 21:20:33 +00:00
|
|
|
pid0.max_torque = acim_ttc0.t_max
|
|
|
|
pid0.min_torque = acim_ttc0.t_min
|
|
|
|
pid0.max_vel = conf0.max_vel
|
2017-09-03 03:02:24 +00:00
|
|
|
acim_ttc0.torque = pid0.torque_cor_cmd
|
|
|
|
acim_ttc0.polecount = conf0.polecount
|
2019-06-03 21:20:33 +00:00
|
|
|
acim_ttc0.vel_m = vel1.vel
|
2017-09-04 13:59:07 +00:00
|
|
|
acim_ttc0.mode = 0
|
2019-06-03 21:20:33 +00:00
|
|
|
acim_ttc0.sensorless = 0
|
2019-05-09 17:05:25 +00:00
|
|
|
hv0.q_cmd = acim_ttc0.q_cmd
|
|
|
|
hv0.d_cmd = acim_ttc0.d_cmd
|
|
|
|
hv0.cmd_mode = acim_ttc0.cmd_mode
|
2017-09-06 00:00:49 +00:00
|
|
|
hv0.phase_mode = 2
|
2017-09-03 03:02:24 +00:00
|
|
|
hv0.pos = acim_ttc0.pos
|