Project

General

Profile

Actions

Bug #85

closed

Lasering long vertical line at start of jobs after the first job

Added by peteruithoven almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
2013-05-31
Due date:
% Done:

0%

Estimated time:

Description

I keep having some issues with my lasercutter, it starts by cutting a bit vertical line and sometimes the speed/power isn't used.

So I'd like a way to debug this and see exactly what comes in (unparsed simplecode) and what it tries to do with that. I understood from Jaap this can be tricky to debug since instructions are given by interrupts and you get other issues when you serial print in interrupts. So I went looking for ways to debug earlier in the process. I'm no c++ or mbed expert but I think the current system goes trough the simple and calls LaosMotion::write with every integer that is found.
So printing every integer that comes into this function would be a very blunt start.

A bit more specific would be to print the parameters and values it parsed when it found command 7 (case 7). Also the plan_buffer_line
Another interesting function would be plan_buffer_line from planner.cpp. this gets a parsed action (tActionRequest) as parameter.

Hopefully this will give me something useful and maybe this debug method is useful for someone else.


Files

rect3.lgc (135 Bytes) rect3.lgc peteruithoven, 2013-06-01 17:51
p2.lgc (762 Bytes) p2.lgc peteruithoven, 2013-06-01 17:51
p3.lgc (764 Bytes) p3.lgc peteruithoven, 2013-06-01 17:51
rect2.lgc (135 Bytes) rect2.lgc peteruithoven, 2013-06-01 17:51
laoslaser-1-6-2013.bin (147 KB) laoslaser-1-6-2013.bin peteruithoven, 2013-06-01 22:03
laoslaser-2-6-2013.bin (147 KB) laoslaser-2-6-2013.bin peteruithoven, 2013-06-02 14:38
Actions

Also available in: Atom PDF