So i don't know enough yet to say for sure.
But here is something to muse.
lets take the f code for instance it could be alone or with other commands.
eg.
     g1 x 1 f6
or
    f6
    g1 x1

So  how do you account for that when single stepping?
either way, currently (with fcode_message branch)  there will be two motion 
commands.
With master there will only be one motion commands either way.

You would have to read ahead until you found a line number that was different 
then you could say what was what.

Now in master, Andy has been playing with statetags, but I have no idea if it 
tags each gcode line or just each motion command. I don't know if Andy is going 
to continue on it or not.
I'd hate to put a bunch of work towards something then have to refactor it 
right away.

my 2 cents anyways.
Chris

________________________________
From: Reinhard <reinha...@schwarzrot-design.de>
Sent: March 31, 2020 11:50 AM
To: emc-developers@lists.sourceforge.net <emc-developers@lists.sourceforge.net>
Subject: [Emc-developers] improve synchronization between backend and UI

Hi,

what you think about extending structs from interp_queue.hh so that every
struct has a line_number member?

Interp::convert_feed_rate() is rather simple to adapt. I will check others
too.

This way, linenumber will always be accessible on execution (motion) time and
could for so be put in status feedback.


Reinhard




_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to