Python library "linuxcnc" has error

More
23 Apr 2021 12:45 #206868 by TheRoslyak
Who can find in source code one error.
I use linuxcnc.org/docs/2.6/html/common/python-interface.html
and if I use c.mdi (command). It doesn't rotate axis
If I use with cos or sin - working correct.
But if I send only "g1 X100 f10000" - move without "cos or sin"
If I use interface line mdi or telnet - all working correct
Attachments:

Please Log in or Create an account to join the conversation.

More
24 Apr 2021 01:03 - 24 Apr 2021 10:17 #206913 by andypugh
LinuxCNC 2.6 was last updated in 2016. Why are you still using it?

If you are using LinuxCNC 2.9 then you really should be using the documentation for that version.

linuxcnc.org/docs/devel/html/config/python-interface.html
Last edit: 24 Apr 2021 10:17 by andypugh.

Please Log in or Create an account to join the conversation.

More
24 Apr 2021 06:10 #206935 by Aciera
I see you are using master so you might want to use this:

linuxcnc.org/docs/devel/html/config/python-interface.html

I haven't checked but maybe something has changed.

Please Log in or Create an account to join the conversation.

More
26 Apr 2021 07:37 #207084 by TheRoslyak
andypugh and Aciera
I just pasted not the last link.
It does not matter.
The mdi command in this library works the same.
If you rotate axis by "g10 l2 p1 r-30" - this will not work correctly.

Please Log in or Create an account to join the conversation.

Time to create page: 0.268 seconds
Powered by Kunena Forum