Python Interface name mismatch

More
01 Sep 2016 02:12 #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 or Create an account to join the conversation.

More
01 Sep 2016 16:53 #79848 by andypugh
Can you raise it as an issue here:
github.com/LinuxCNC/linuxcnc/issues
so that it gets tracked?

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

More
02 Sep 2016 21:58 #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 or Create an account to join the conversation.

More
03 Sep 2016 20:26 - 03 Sep 2016 20:26 #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.
Last edit: 03 Sep 2016 20:26 by andypugh.

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

Time to create page: 0.344 seconds
Powered by Kunena Forum