-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get raster to fire laser #1
Comments
These should be some amount of dmesg output just when the module loads. If If the module is loading then I would guess it isn't getting any input from
|
Sorry to hear you've gotten away from it. It seems like development around DIY lasers has kind of stagnated lately. Anyway if you want to ignore this, I'll understand. I'll leave this hear and try to update the issue if I find my problem. Thanks.! I got it to spit out debugging info now:
|
Something is weird with the index and bits being set on the I put raster I have not given up, just moving right now.
|
I've adapted your config to my laser and have been using it for vector cutting and engraving for a long time (using both magic Z and M62/M63) but have never been able to get raster engraving to work. I recently upgraded my machine and decided to try again.
Config is debian/jessie rt_prempt with Machinekit.
Installing the laserraster.comp only throws minor warnings:
brad@clyde:~/machinekit/configs/2x_laser$ sudo comp --install laserraster.comp
Compiling realtime laserraster.c
In file included from laserraster.comp:31:0:
/home/brad/machinekit/configs/2x_laser/strtod.h:37:12: warning: conflicting types for built-in function ‘isspace’
static int isspace(char c){ return c==' '; }
^
/home/brad/machinekit/configs/2x_laser/strtod.h:38:12: warning: conflicting types for built-in function ‘isdigit’
static int isdigit(char c){ return (c>='0'&&c<='9'); }
^
laserraster.comp: In function ‘extra_setup’:
laserraster.comp:270:28: warning: incompatible implicit declaration of built-in function ‘ceil’
Linking laserraster.so
cp laserraster.so /usr/lib/linuxcnc/rt-preempt/
I load the Mona_Lisa.ngc example file (unchanged except I set laser power to 80%). It loads without error and when I run it, the gantry sweeps as expected but the laser never fires.
I uncommented the DEBUG lines in laserraster.comp before installing but I see no error output in /var/log/debug.
Is there anything else I can look at to find a clue?
The text was updated successfully, but these errors were encountered: