hzeller / beagleg

G-code interpreter and stepmotor controller for crazy fast coordinated moves of up to 8 steppers. Uses the Programmable Realtime Unit (PRU) of the Beaglebone.
http://beagleg.org/
GNU General Public License v3.0
122 stars 51 forks source link

o added even driven streaming with fd-mux #34

Closed lromor closed 6 years ago

lromor commented 6 years ago

I have rebased the branch to allow fast forward

hzeller commented 6 years ago

Thanks! I have now merged this and split into three submits: https://github.com/hzeller/beagleg/commit/5277157d4048d3e007c25e9d43377642d82badc8 https://github.com/hzeller/beagleg/commit/b4ca45e46468b8b7207cf524ee230f3f7a9090a3 https://github.com/hzeller/beagleg/commit/8b5e1344b3c2704aa7e75f05f37f229e923f2608

I have done some basic test, reading from a file and using ./machine-control -n -p9999 -c sample.config to simulate a machine and connect to it locally and found that I needed to remove the signal handling stuff in the run_server(), as it was interfering with fd-mux was already doing. Great: less code in run_server().