Python library "linuxcnc" has error
- TheRoslyak
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 238
- Thank you received: 37
23 Apr 2021 12:45 #206868
by TheRoslyak
Python library "linuxcnc" has error was created 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
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
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23178
- Thank you received: 4860
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
Replied by andypugh on topic Python library "linuxcnc" has error
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.
- Aciera
- Offline
- Administrator
Less
More
- Posts: 4025
- Thank you received: 1735
24 Apr 2021 06:10 #206935
by Aciera
Replied by Aciera on topic Python library "linuxcnc" has error
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.
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.
- TheRoslyak
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 238
- Thank you received: 37
26 Apr 2021 07:37 #207084
by TheRoslyak
Replied by TheRoslyak on topic Python library "linuxcnc" has error
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.
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.054 seconds