major code restructure and cleanup

This commit is contained in:
zamofing_t committed 2019-01-23 12:08:47 +00:00
1 parent 66e2d038ba
commit dab7fb940c
12 files changed
+454 -875

No files matched your search

-11
View File
@@ -263,17 +263,6 @@ class MXTuning(Tuning):
prog+=''' iqCmd=DesPos*{V}-{y};
if (iqCmd>maxDac)
{{
iqCmd=maxDac;
}}
else
{{
if (iqCmd<-maxDac)
{{
iqCmd=-maxDac;
}}
}}
//return iqCmd;
pshm->P[200{motid}]=iqCmd; //lowpass of Position error
return pshm->ServoCtrl(Mptr);