I believe you're correct, my logs show the following:

> Feb 17 23:45:18 beaglebone rtapi:0: 4:rtapi_app:8608:user line can't have 
>> zero length! xyz start = 
>> -9.265000000000e+00,4.957300000000e+01,3.800000000000e-01, end = 
>> -9.265000000000e+00,4.957300000000e+01,3.800000000000e-01
>
> Feb 17 23:45:18 beaglebone rtapi:0: 4:rtapi_app:8608:user failed to create 
>> line id 5517, zero-length segment
>
>
>
On Saturday, February 25, 2017 at 7:08:03 AM UTC-8, Schooner wrote:
>
>
> On 25/02/17 11:47, schoo...@btinternet.com <javascript:> wrote:
>
>
> On 25/02/17 07:55, icecube45 wrote:
>
> It's seemingly a different line each time I run the file, this time it was 
> line 20462, which is either the middle of 
>
>> G1 X-9.794 Y-69.769 A29.4549
>>
>> G1 X-10.971 Y-71.809 A29.5489
>>
>> G1 X-13.951 Y-71.809 A29.6678
>>
>> or the middle of 
>
>>  
>
> G1 X31.776 Y-64.609 A48.9986
>
> G1 X34.755 Y-64.609 A49.1175
>
> G1 X35.933 Y-62.569 A49.2115
>
>
> defendant on if comments count as lines or not.. 
> Nothing seems out of the ordinary here, which is why I'm so confused.
>
>
> The error is defined as TP_ERR_ZERO_LENGTH
>
> https://github.com/machinekit/machinekit/blob/master/src/emc/tp/tp_types.h#L61
>
> The trajectory planner is dark magic with which I have no particular 
> familiarity.
> It was certainly not developed to squirt plastic in tens of thousands of 
> extremely small moves.
>
> My only guess might be that depending upon what blending settings you 
> have, it may not recognise  a commanded move(s) as
> any sort of move at all.
> But I could be completely wrong.
>
> Hopefully Robert or someone with more knowledge will chime in.
>
>
> Just to flesh this out a bit
>
> This is the code which is throwing the error
> https://github.com/machinekit/machinekit/blob/master/src/emc/tp/tp.c#L1937
>
> if (tc.target < TP_POS_EPSILON) {
>     rtapi_print_msg(RTAPI_MSG_DBG,"failed to create line id %d, 
> zero-length segment\n",tp->nextId);
>     return TP_ERR_ZERO_LENGTH;
>     }
>
> If you switched on debugging, you should see this message in 
> /var/log/linuxcnc.log
>
> This is why I am surmising that an extremely small move, with some 
> rounding down from the tp settings, 
> could be causing the error.
>
> TP_POS_EPSILON is defined here
>
> https://github.com/machinekit/machinekit/blob/master/src/emc/tp/tp_types.h#L44
> as 1e-12 ( which is 10 to -12 or 0.000 000 000 001 !! )
>
> Why this is occurring I don't know, but you can switch on debugging and 
> confirm that this is indeed the bit causing it.
>
> You can also switch off blending (G64 P0) or adjust the blend tolerance 
> settings ( G64 Pn.nn ) and see if it improves.
>
>
>
> On Friday, February 24, 2017 at 4:47:47 AM UTC-8, Schooner wrote: 
>>
>>
>> On 24/02/17 12:03, icecube45 wrote:
>>
>> Does anyone have any idea what this error code is? It occasionally 
>> happens, yet I can't isolate what is actually causing it, nor what the -7 
>> error code actually means.
>>
>>
>>
>> https://github.com/machinekit/machinekit/blob/master/src/emc/motion/command.c#L953
>>
>> It means that it does not like one of the parameters to a linear move.
>>
>> EMCMOT_COMMAND_BAD_EXEC means there was an error trying to initiate the 
>> command.
>> This would suggest the command was valid syntax but the acc, vel, move 
>> extent or some other factor was not.
>>
>> Unless you can tell us what the move asked for was, it is impossible to 
>> guess.
>>
>> line xxxx should be a number, it may not strictly equate to the line 
>> number but should be a number non the less.
>>
>>
>>
>> I'd appreciate any advice on how to fix this error - it's popping up 
>> randomly and stopping my prints.
>>
>> For reference, I'm on a BeBoPr++ lineardelta configuration.
>> -- 
>> website: http://www.machinekit.io blog: http://blog.machinekit.io 
>> github: https://github.com/machinekit
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Machinekit" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to machinekit+...@googlegroups.com.
>> Visit this group at https://groups.google.com/group/machinekit.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> -- 
> website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
> https://github.com/machinekit
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Machinekit" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to machinekit+...@googlegroups.com <javascript:>.
> Visit this group at https://groups.google.com/group/machinekit.
> For more options, visit https://groups.google.com/d/optout.
>
>
> -- 
> website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
> https://github.com/machinekit
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Machinekit" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to machinekit+...@googlegroups.com <javascript:>.
> Visit this group at https://groups.google.com/group/machinekit.
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to