LinuxCNC S-Curve Accelerations

More
1 year 5 months ago #327870 by PCW
Replied by PCW on topic LinuxCNC S-Curve Accelerations
Will test today or tomorrow.

Please Log in to join the conversation.

More
1 year 5 months ago #327874 by Grotius
Hi Pcw,

Thanks for your fast responce.

We have an issue on codeberg. I invested today to find why the scurve some times breaks. We then see a
vertical line in the plot of tpmod.curvel.
The curve kind of starting from vel=0 again. Jumping etc.

It seems if my base thread is set to 50000 (too fast),
the scurve lib is not able to finish the algo anymore. Resulting in strange behaviour.
Like a sqrt() function taking about 1 ms to complete, wich is absolulutely madness.

Now if i set the base thread to 80000. Everything goes fine.
So i thought, better you know this also.

The guy in italy had 6 axis ethercat running, very difficult .hal setup, constantly breaking the scurve every move,
even without clothoids.

So now i helped him with remote desktop for hours. And now with a simple config he runs ok. We don't know
his cause exactly. But we are happy the problem is gone now.


 

Please Log in to join the conversation.

More
1 year 5 months ago #327941 by Grotius
Hi Pcw,

To inform you.

I just synchronized the codeberg lcnc to github's lcnc codebase.
I did messed up some hal source code when trying things out, wich resulted in a non starting simulation config for "run_axis_9".
This is now reverted.

Please Log in to join the conversation.

More
1 year 5 months ago #327965 by PCW
Replied by PCW on topic LinuxCNC S-Curve Accelerations
Is there a different repository? Just did a git pull
and got: "already up to date"

Please Log in to join the conversation.

More
1 year 5 months ago #327982 by Grotius
Hi Pcw,

Its still this one : codeberg.org/skynet/linuxcnc_scurve_compact

I did a forced upload yesterday, resulting the git history is whiped out.
Otherwise maybe to be sure : git clone --recurse-submodules codeberg.org/skynet/linuxcnc_scurve_compact

If you see the new hal pins appearing, it's ok.

I really hope you can run a few motions.



 

Please Log in to join the conversation.

More
1 year 5 months ago #328031 by tiagounderground
hi all
i tried to install in 3 different computers with no sucess, all of then was working linuxcnc installed. in the last one it says it could not find tpmod_scurve.so. i was able to run the previous versions, so i copy this file from a previous installation and was able to start in simulation mode but those new hal pins didnt apear to me.


edit
solve the problem moving files from clothoid_3d and scurve to their lib directories.

edit 2
cant run ethercat

when installing  linuxcnc-ethercat this error apears

/home/cnc/scurve2/linuxcnc_scurve_compact/linuxcnc-ethercat/lcec_rtapi.h:22:10: fatal error: rtapi.h: Arquivo ou diretório inexistente
   22 | #include <rtapi.h>
      |          ^~~~~~~~~
edit3
it runs on ethercat now but i cant start a gcode, it says

task: main loop took 0.023097 seconds
tpAbort.
tpAbort.
task: main loop took 0.070196 seconds
tpAbort.
tpAbort.
task: main loop took 0.044852 seconds
task: main loop took 0.011368 seconds

Then the above pins must stay below ~50000 nanosec at runtime.
they all stayed below 50000 nanosec


 

Please Log in to join the conversation.

More
1 year 5 months ago #328047 by Grotius
Hi Tia,

Attached file can be renamed to install.sh
This is more or less the install procedure to get it going, excluding the ethercat-master setup.

Furthermore we expanded the current path algo to a new one wich covers abc uvw motion at fillets.
This path algo is active by default.

Furthermore we solved a codeberg issue , related to uvw motions at runtime.

Please Log in to join the conversation.

More
1 year 5 months ago #328089 by tiagounderground
I instaled linuxcnc scurve compact with the install script from cmake folder
Is it different from the one in the root scurve compact folder?

Please Log in to join the conversation.

More
1 year 5 months ago #328105 by PCW
Replied by PCW on topic LinuxCNC S-Curve Accelerations
Well,  ran install.sh and it wiped everything except the base mint installation
on my test computer. Not trying that again.

 

Please Log in to join the conversation.

More
1 year 5 months ago #328413 by Hakan
Did that too hehe. All files gone. Luckily it was a new PC so I can redo it.
I mean do it one more time and delete all files again :)
It's the ./build_cmake_rm that is a bit aggressive.

This is the log of that command, it goes a bit further bit I only include up to the point where things go wrong.
Warning: Spoiler!

Please Log in to join the conversation.

Time to create page: 0.385 seconds
Powered by Kunena Forum