It would be nice and maybe somebody already have thc configuration so I 
could reduce number of trial/error iterations.
Does anybody know for working thc comp with linuxcnc/machinekit and 
possibly on BBB so I could check configuration?

I am looking into THC comp (*machinekit\src\hal\i_components\thc.icomp*)

I see there are few parameters available to influence THC comp operation - 
namely:
// Parameters
pin io float *vel_scale *"The scale to convert the Velocity signal to 
Volts";
pin io float *scale_offset *"The offset of the velocity input at 0 volts";
pin io float *velocity_tol *"The deviation percent from planned velocity";
pin io float *voltage_tol *"The deviation of Tip Voltage before correction 
takes place";
pin io float *correction_vel *"The amount of change in user units per 
period to move Z to correct"; 

So I plan to instantiate thc comp within my hal with:
newinst thc thc0 vel_scale=0.00037866834  scale_offset=119000 
velocity_tol=3 voltage_tol=2 correction_vel=0.0001
But what would be the values of those parameters?

Also for using thcad 10V I would need encoder and it seems I would need to 
use:
http://www.machinekit.io/docs/drivers/hal_arm335xQEP/
so:
loadrt hal_arm335xQEP encoders=eQEP0

but where do i specify what are source pins that encoder is counting them 
in component?
I was already checking:
https://github.com/cdsteinkuehler/machine-configs/blob/master/motorctrl/hardware.hal

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to