linuxcnc trajectory planner

More
2 years 1 week ago #313099 by Aciera
Replied by Aciera on topic linuxcnc trajectory planner
Still does not work.

f you are in the ~/lib dir and do : sudo ldconfig .
The same in the ~/rtlib dir and do : sudo ldconfig .

the commands execute without any output. Trying to a config still fails with the same error. Running ./installer again and opening a config also still fails with the same error.
The following user(s) said Thank You: Grotius

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

More
2 years 1 week ago #313107 by Grotius
Replied by Grotius on topic linuxcnc trajectory planner
Hi Arciera,

Was able to produce the error. This time it could not find clothoid.so
Then i looked into hal-core, how that start's normally.

It uses these lines in the startup script:

# Set the ~/lib path to be found by the system.
sudo ldconfig $(pwd)/../lib
sudo ldconfig $(pwd)/../rtlib

Now these are added here.

This then solved the startup error.
Fingers crossed. image missing /media/kunena/emoticons/smile.png






 

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

More
2 years 1 week ago - 2 years 1 week ago #313111 by tiagounderground
halui (62639) halui: machine 'LinuxCNC-HAL-SIM-AXIS'  version '1.1'
Found file(lib): /home/cnc/linuxcnc_trajectory_planner/lib/hallib/core_sim.hal
Found file(lib): /home/cnc/linuxcnc_trajectory_planner/lib/hallib/sim_spindle_encoder.hal
Found file(lib): /home/cnc/linuxcnc_trajectory_planner/lib/hallib/axis_manualtoolchange.hal
Found file(lib): /home/cnc/linuxcnc_trajectory_planner/lib/hallib/simulated_home.hal
Found file(lib): /home/cnc/linuxcnc_trajectory_planner/lib/hallib/check_xyz_constraints.hal
Found file(REL): ./cooling.hal
./cooling.hal:7: Pin 'iocontrol.0.lube' does not exist
Shutting down and cleaning up LinuxCNC...


USRMOT: ERROR: command 30 timeout
emcMotionInit: emcTrajInit failed
Note: Using POSIX realtime
LinuxCNC terminated with an error.  You can find more information in the log:
    /home/cnc/linuxcnc_debug.txt
and
    /home/cnc/linuxcnc_print.txt


now it shows this error
./cooling.hal:7: Pin 'iocontrol.0.lube' does not exist


maybe in conflict with my old configs? i see the ini file is in the same location from my stable linuxcnc config


edit2
deleting the old files made it work but now there is a new error, but linuxcnc started

USRMOT: ERROR: command 30 timeout
emcMotionInit: emcTrajInit failed
link (updating variable file): No such file or directory


edit 3
another error
Reading state information... Done
E: Unable to locate package libbrotlicommon1
-- Configuring done
-- Generating done
-- Build files have been written to: /home/cnc/linuxcnc_trajectory_planner/cmake/libclothoids/build


 
Last edit: 2 years 1 week ago by tiagounderground.
The following user(s) said Thank You: Grotius

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

More
2 years 1 week ago #313115 by Aciera
Replied by Aciera on topic linuxcnc trajectory planner

USRMOT: ERROR: command 30 timeout


This error message can be ignored.
The following user(s) said Thank You: Grotius

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

More
2 years 1 week ago #313118 by tiagounderground
it seens to be working now

gcode loaded items: 14
gcode ready to be processed in thread.
set your gui maxvel to zero. Then the machine won't move when saving the gcode.
init curves done.
trim curves done.
added inbetween segments:10
Gcode file ready, filename:../../../cmake/validate_1142171910.ngc
thread completed.
The following user(s) said Thank You: Grotius, Aciera

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

More
2 years 1 week ago #313126 by Grotius
Replied by Grotius on topic linuxcnc trajectory planner
Hi,

Thanks TiaUnderGround for testing the script.
Glad that is run's.

I hope Arciera's install will also run now. image missing /media/kunena/emoticons/smile.png

In the cmake dir, i changed the tinyspline source code to be libtinyspline.
It now compiles to libtinyspline.so and is installed in ~/rtlib
motmod.so uses libtinyspline to create fillets. This is temponairy.

Next will create libfilletizer wich then can be used by the trajectory planner "tpmod.so".

Then the edited motion component "motmod.so" wich we used for displaying the filletizer algoritme can be
left in the project as is. This edited component can be used to verify filletizer outputs when source code
has changed.

We can load the original "motmod.so" once again and can now focus
on the trajectory planner "tpmod.so" code.

We have soon the ingredients complete. image missing /media/kunena/emoticons/smile.png
The following user(s) said Thank You: akb1212, tiagounderground

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

Time to create page: 0.115 seconds
Powered by Kunena Forum