Greetings,

Since you all are so helpful I am going to bother you again!

As I learned yesterday I have to change motion mode to home and unhome
joints in 2.8, so I decided to add a "motion mode" indicator to my UI.

Based on the Python Interface docs[1] it looks like stat.motion_type should
return one of  TRAJ_MODE_COORD, TRAJ_MODE_FREE, TRAJ_MODE_TELEOP, but as
far as I can tell it only returns 0, which is not equal to any of
TRAJ_MODE_COORD, TRAJ_MODE_FREE, TRAJ_MODE_TELEOP which are 2, 1, 3
respectively.

I think stat.motion_mode just might be returning the TRAJ_MODE instead of
stat.motion_type as stated in the docs.

Where would I look to prove (or disprove) this?

Thanks,

Kurt

[1] http://linuxcnc.org/docs/devel/html/config/python-interface.html
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to