LinuxCNC S-Curve Accelerations

More
1 year 5 months ago #328423 by Hakan
Nope won't work. Well one can't delete files but you can also not create new files or write to files during the build, so the build fails.
The right thing is to fix the build so this doesn't happen.

Please Log in to join the conversation.

More
1 year 5 months ago #328433 by Hakan
Got it to build. The install script, as far as I can tell it doesn't bring in libclothoid3d and libscurve
When I did that manually (path here forum.linuxcnc.org/38-general-linuxcnc-q...orm?start=170#323932 ) and copied that to the empty directories the code builds.

Please Log in to join the conversation.

More
1 year 5 months ago #329047 by tiagounderground
I'm trying to run the last update on ethercat drivers but i have this error
HAL: ERROR: function 'cia402.0.read-all' not found
./cia402.hal:34: addf failed
HAL: ERROR: pin 'lcec.0.3.out-01' not found
shutdown.hal:2: unlink failed
24062
24076

am i missing something?

Please Log in to join the conversation.

More
1 year 5 months ago #329048 by tommylight
@tiagounderground,
Those are EtherCAT errors, probably better to ask in the EtherCAT section of the forum.

Please Log in to join the conversation.

More
1 year 5 months ago #329050 by tiagounderground
i was able to solve it removing
addf cia402.0.read-all servo-thread
addf cia402.1.read-all servo-thread
addf cia402.2.read-all servo-thread
addf cia402.3.read-all servo-thread

now im running the machine but sometimes i have following errors that disable the motors, some arcs are beeng replaced for straigh lines and causing this, im trying to solve it now

i attach a printscreen from the gcode 

Attachment not found





 

Attachment not found

Please Log in to join the conversation.

More
1 year 5 months ago #329053 by tiagounderground
i cant tell as am not machining anything, just moving the machine.
with other files this doesnt happen, but the position errors still happens
a lot of times i have drivers out off op state, then back on, i can run the same hardware on standard linuxcnc without any problem

edit:
emcMotionInit: emcTrajInit failed
this message shows in terminal when i start the scurve ethercat config, is this a problem?.
 

Please Log in to join the conversation.

More
1 year 5 months ago #329095 by rodw
Replied by rodw on topic LinuxCNC S-Curve Accelerations
You have not solved anything. If you want to use cia402 devices and the component, you need to read all at the beginning of the servo thread and write all at the end of it.

My thought is you have blindly copied a config. This is not plug and play, you need to build a config to suite your devices.

Please Log in to join the conversation.

More
1 year 5 months ago #329138 by tiagounderground
the config im tryng to use works in version 2.9.4, tomorow i will post my config here,

Please Log in to join the conversation.

More
10 months 2 days ago #340644 by grandixximo
I would like to share an S-Curve jerk control I have been working on, actually since I made the OP, I think the code is pretty battle tested, but I based it on an old version, and I would like to port the code to something that the community will be happy with, what should my base code be from which to introduce the jerk control? are you guys ok with master? or 2.9.4?

---
test signature

Please Log in to join the conversation.

More
10 months 1 day ago #340648 by Aciera
I think current master would probably make the most sense as this is where it could actually be merged. 2.9 is for bug fixes only. (Currently recommended stable version is 2.9.7)

[edit]
If your modifications are limited to the trajectory planner you might also be able to create a custom planner that can be used as a drop in replacement for the one currently used:
github.com/LinuxCNC/linuxcnc/blob/master...mponents/tpcomp.comp
 

Please Log in to join the conversation.

Time to create page: 0.839 seconds
Powered by Kunena Forum