Hi,

Background:
I'm building a CNC Lathe (see video here <https://youtu.be/bn6DsqG35MU>), I 
use ClearPath motors to control Z&X axis and the spindle. Those motors can 
be configured to give torque feedback by outputting a PWM signal. I want to 
be able to read the torque info within Machinekit in real time so I could 
display it but also take actions like trigger emergency stop if the torque 
goes above certain threshold.

I have started digging in the machinekit PRU code to develop some module to 
read a PWM signal.
I'm not stuck and I'm confident I will eventually manage to do all what I 
want but if some have already work with the PRU they might have some answer 
to those question that would save me quite some time:

   - Is there some (simple) way to test the PRU binary (pru_generic.bin) 
   separately before&without doing the integration in Machinekit? (like some 
   script that configure the PRU/RAM shared memory the same way as 
   the hal_pru_generic driver does?)
   - Is there some (simple) way to build&test the hal_pru_generic driver 
   only without (re)compiling the all machinekit?

BR

-- 
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