Python Interface name mismatch

More
10 years 1 month ago #79806 by giantstone
Hi, I discovered that there is a mismatch between the python interface ( linuxcnc.org/docs/2.7/html/config/python...xcnc_stat_attributes ) web's information and the program's information.
The web's info linuxcnc.stats().motion_mode is actually the program's stats.motion_type.

Please Log in to join the conversation.

More
10 years 1 month ago #79848 by andypugh
Can you raise it as an issue here:
github.com/LinuxCNC/linuxcnc/issues
so that it gets tracked?

Please Log in to join the conversation.

More
10 years 1 month ago #79942 by BigJohnT
Can you expand a bit on what is wrong? A code snippet with what you expect and what you got would help.
JT

Please Log in to join the conversation.

More
10 years 1 month ago #79989 by andypugh
I think he is saying that the Python interface creates a pin called motion_type
github.com/LinuxCNC/linuxcnc/blob/master...ns/emcmodule.cc#L353
Wheres the docs refer to motion_mode:
linuxcnc.org/docs/2.7/html/config/python...xcnc_stat_attributes
But that also mentions motion.type
And the code creates motion.mode too
github.com/LinuxCNC/linuxcnc/blob/master...ns/emcmodule.cc#L333

So I join the "puzzled" camp without further information.

Please Log in to join the conversation.

Time to create page: 0.148 seconds
Powered by Kunena Forum