grotius-cnc / hal-core

cnc and robot realtime controller. runs on a hal kernel module.
GNU General Public License v2.0
43 stars 20 forks source link

segmentation faults (solved) #19

Open grotius-cnc opened 2 years ago

grotius-cnc commented 2 years ago

If we pass full filepaths to halcmd like : /opt/hal-core/src/hal/components/matrix/machine/static.step There is no problem at first sight. If we pass 10 drawings, we get a "segmentation fault" message. Still the program seems to work correctly. To avoid the "segmentation fault" we have a workaround, just avoid the "/" signs. You could put a ./halcmd symlink into the directory and load the drawings from there without using full filepath's.

./halcmd loadrt matrix machines=2 joints=6,6 stringvec=static.step,0.step,1.step,2.step,3.step,4.step,5.step,static.step,0.step,1.step,2.step,3.step,4.step,5.step

grotius-cnc commented 2 years ago

Closed, solved.