- Posts: 1317
- Thank you received: 0
LinuxCNC S-Curve Accelerations
1 year 5 months ago #328423
by Hakan
Replied by Hakan on topic LinuxCNC S-Curve Accelerations
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.
The right thing is to fix the build so this doesn't happen.
Please Log in to join the conversation.
1 year 5 months ago #328433
by Hakan
Replied by Hakan on topic LinuxCNC S-Curve Accelerations
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.
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.
- tiagounderground
- Offline
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 0
1 year 5 months ago #329047
by tiagounderground
Replied by tiagounderground on topic LinuxCNC S-Curve Accelerations
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?
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.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22009
- Thank you received: 3
1 year 5 months ago #329048
by tommylight
Replied by tommylight on topic LinuxCNC S-Curve Accelerations
@tiagounderground,
Those are EtherCAT errors, probably better to ask in the EtherCAT section of the forum.
Those are EtherCAT errors, probably better to ask in the EtherCAT section of the forum.
Please Log in to join the conversation.
- tiagounderground
- Offline
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 0
1 year 5 months ago #329050
by tiagounderground
Replied by tiagounderground on topic LinuxCNC S-Curve Accelerations
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
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.
- tiagounderground
- Offline
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 0
1 year 5 months ago #329053
by tiagounderground
Replied by tiagounderground on topic LinuxCNC S-Curve Accelerations
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?.
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.
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.
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.
- tiagounderground
- Offline
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 0
1 year 5 months ago #329138
by tiagounderground
Replied by tiagounderground on topic LinuxCNC S-Curve Accelerations
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.
- grandixximo
-
Topic Author
- Away
- Platinum Member
-
- Where are my paaaaants?
Less
More
- Posts: 351
- Thank you received: 2
10 months 2 days ago #340644
by grandixximo
---
test signature
Replied by grandixximo on topic LinuxCNC S-Curve Accelerations
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.
10 months 1 day ago #340648
by Aciera
Replied by Aciera on topic LinuxCNC S-Curve Accelerations
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
[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
