scurve trajectory planner

More
24 Mar 2025 21:49 #324830 by Evgen
Replied by Evgen on topic scurve trajectory planner
Hello! I have intersting problem. I use solidcam iMachining procedures for milling. With ordinary TP I have some strange deaccelerations and my servos don't like it. Then I check your tp, it try to stop every g-code segment. I can't understand where is problem. Help me, please. White screenshot - new tp, black - ordinary tp. All tests on pictures are in simulation.
Attachments:

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

  • Grotius
  • Grotius's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
25 Mar 2025 10:03 #324861 by Grotius
Replied by Grotius on topic scurve trajectory planner
Hi Evgen,

If you try to do roughing G64 P1 Q0 or even G64 P2 Q0
The velocity will be more constant. And the path tends to be G3 continious.

My conclusion for the file:
From what i see is that the file set a velmax for a lot off indiviual G1 line segments. The planner will react to this.
Some off the line - line segments transitions in the file are very sharp, non smooth. Tiny clothoid fillets, will slow down the
motion.

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

More
25 Mar 2025 10:21 #324862 by Aciera
Replied by Aciera on topic scurve trajectory planner
I don't understand why 'feed-mm-per-second' drops to zero every time 'current-vel' reaches a local minimum.
The following user(s) said Thank You: Grotius

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

More
25 Mar 2025 14:46 #324879 by Evgen
Replied by Evgen on topic scurve trajectory planner
Hello! I try P1. The movement becomes smoother, but still srange. And also srange deaccelerations in traditional tp at moment when movement is smooth and feedrate doesn't change. same programs an non linuxcnc machines works fine. I have such problem on much 3 many years ago. The reason was CPU usage.
Attachments:
The following user(s) said Thank You: Grotius

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

More
25 Mar 2025 16:17 #324893 by PCW
Replied by PCW on topic scurve trajectory planner
Are you sure that is not just an artifact of running a non-realtime (SIM) installation?
The following user(s) said Thank You: Grotius

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

More
25 Mar 2025 17:08 #324894 by Evgen
Replied by Evgen on topic scurve trajectory planner
Yes,I'm sure. Firstly I got this problem on real machine with MESA card.
The following user(s) said Thank You: Grotius

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

More
25 Mar 2025 17:22 #324895 by PCW
Replied by PCW on topic scurve trajectory planner
Can you post the gcode?
 
The following user(s) said Thank You: Grotius

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

  • Grotius
  • Grotius's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
25 Mar 2025 17:35 - 25 Mar 2025 17:39 #324897 by Grotius
Replied by Grotius on topic scurve trajectory planner
Hi,

When i run Posix non-realtime or Posix realtime scurve planner, i both get the same results as Evgen is telling us.

The hal pins that are flippering, blinking :
  • motion.feed-mm-per-second
  • motion.feed-mm-per-minute
  • motion.feed-inches-per-second
  • motion.feed-inches-per-minute
  • motion.feed-upm

I didn't look any further.

What is using the hal pin :  motion.feed-mm-per-second for example?
I personally never used it, that's maybe i didn't noticed this behaviour.

@Pcw, link to gcode he posted before:
forum.linuxcnc.org/media/kunena/attachme...i3DRough_target2.ngc
Last edit: 25 Mar 2025 17:39 by Grotius.

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

More
25 Mar 2025 17:37 #324898 by Aciera
Replied by Aciera on topic scurve trajectory planner

Can you post the gcode?


Gcode is attached here:
forum.linuxcnc.org/38-general-linuxcnc-q...ner?start=210#324830

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

More
25 Mar 2025 17:43 #324901 by Aciera
Replied by Aciera on topic scurve trajectory planner

What is using the hal pin : motion.feed-mm-per-second for example?
 

 
 

from:
linuxcnc.org/docs/devel/html/man/man9/motion.9.html
Attachments:
The following user(s) said Thank You: Grotius

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

Time to create page: 0.121 seconds
Powered by Kunena Forum