As i know, linuxcnc cant change accleration during run gcode. So i just wanna change it when linuxcnc is in idle. I tried add "maxacc" command to set acceleration of tooltip in python interface.
To do it i modified 2 files: src/emc/usr_intf/axis/extensions/emcmodule.cc (added maxacc function) src/emc/task/emctaskmain.cc (added more case in manual mode to set acceleration) Then i remake all src. As i see, linuxcnc command will be go like this: python command --> emcmodule.cc --> emctaskmain.cc --> taskinf.cc --> usrmotinf.cc --> command.c. When i run Debug, i got "emcTrajSetAcceleration(500.0000) returned 0" in shell if i use that command but the acceleration didnt change both jog and auto mode. -- Lê Thắng Phone: (+84) 7722443855 Email: lethang12...@gmail.com ___ ___ ___ ( __ ) __ __( _ ) \ - \ _|__|_ \ - \ (_/ \_) \ - \ __\_ -_\ __ [_________]
setacc.rar
Description: Binary data
_______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers