scurve trajectory planner

More
1 year 7 months ago #324028 by Grotius
Replied by Grotius on topic scurve trajectory planner
Hi,

I wonder if you accidentally changed it somehow globally.
I am quite sure i didn't changed code to the interpreter itself. What i use is a recent lcnc clone.
Then the current G64 Q[x] interpreter behaviour is not ok. It's also showing the same at mr. Hmnijp pictures at page 3.
Maybe a dev can take a look if they have time.

Yes better not blend G0's.










 

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

More
1 year 7 months ago #324043 by papagno-source
HI at all.

I have test installation on Debian 10 :

git clone --recurse-submodules codeberg.org/skynet/linuxcnc_scurve_compact lcnc
cd lcnc/cmake
./installer

It not istalled with success, some error in terminal :

Compiling libnml/posemath/posemath.cc
c++: error: unrecognized command line option ‘-std=gnu++20’; did you mean ‘-std=gnu++2a’?
c++: error: unrecognized command line option ‘-std=gnu++20’; did you mean ‘-std=gnu++2a’?
make: *** [Makefile:287: objects/libnml/inifile/inifile.o] Error 1
make: *** Attesa per i processi non terminati....
make: *** [Makefile:287: objects/libnml/inifile/inivar.o] Error 1
c++: error: unrecognized command line option ‘-std=gnu++20’; did you mean ‘-std=gnu++2a’?

and:

/usr/include/ceres/jet.h:165:10: fatal error: Eigen/Core: File o directory non esistente
#include "Eigen/Core"
^~~~~~~~~~~~





eccc..

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

More
1 year 7 months ago - 1 year 7 months ago #324044 by Aciera
Replied by Aciera on topic scurve trajectory planner

I have test installation on Debian 10 :


Master branch no longer supports debian 10. You will need to try this on debian bookworm or maybe manually change the makefile entries to 'std=gnu++2a'
Last edit: 1 year 7 months ago by Aciera.

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

More
1 year 7 months ago - 1 year 7 months ago #324052 by papagno-source
Hi . i have delete std=gnu++2a'.

but have again anothers error.

too bad it would have been nice to be able to use scurve on debian 10 installations

 
Last edit: 1 year 7 months ago by papagno-source.

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

More
1 year 7 months ago - 1 year 7 months ago #324063 by papagno-source
Hi i have install Debian 12 uspace , with linuxcnc 2.9.4 , image the linuxcnc.org.

I have executed :
git clone --recurse-submodules codeberg.org/skynet/linuxcnc_scurve_compact lcnc
cd lcnc/cmake
./installer

have error in terminal:
/usr/include/ceres/internal/fixed_array.h:33:10: fatal error: Eigen/Core: No such file or directory
33 | #include <Eigen/Core> // For Eigen::aligned_allocator

and


/usr/include/ceres/internal/fixed_array.h:33:10: fatal error: Eigen/Core: No such file or directory
33 | #include <Eigen/Core> // For Eigen::aligned_allocator
| ^~~~~~~~~~~~


If add in tray the file ini :
TPMOD = tpmod_scurve

and start sim/axis_9axis_mm.ini have error :

LINUXCNC - 2.10.0~pre0
Machine configuration directory is '/home/fast/lcnc/configs/sim/axis'
Machine configuration file is 'axis_9axis_mm.ini'
Starting LinuxCNC...
linuxcncsvr (23070) emcsvr: machine 'LinuxCNC-sim-9axis'  version '1.1'
linuxcnc TPMOD=tpmod_scurve HOMEMOD=homemod EMCMOT=motmod unlock_joints_mask=0x10
Note: Using POSIX realtime
tpmod_scurve: dlopen: /home/fast/lcnc/rtlib/tpmod_scurve.so: cannot open shared object file: No such file or directory
<commandline>:0: waitpid failed /home/fast/lcnc/bin/rtapi_app tpmod_scurve
<commandline>:0: /home/fast/lcnc/bin/rtapi_app exited without becoming ready
<commandline>:0: insmod for tpmod_scurve failed, returned -1
Note: Using POSIX realtime
milltask (23085) task: machine 'LinuxCNC-sim-9axis'  version '1.1'
halui (23087) halui: machine 'LinuxCNC-sim-9axis'  version '1.1'
Found file(LIB): /home/fast/lcnc/lib/hallib/basic_sim.tcl
setup_kins: cmd=loadrt trivkins
motmod: dlopen: /home/fast/lcnc/rtlib/motmod.so: undefined symbol: tpRunCycle


core_sim:unhandled emcmot<{motmod unlock_joints_mask=0x10}>
         modname=motmod
         modparm=unlock_joints_mask=0x10
     msg=waitpid failed /home/fast/lcnc/bin/rtapi_app motmod
/home/fast/lcnc/bin/rtapi_app exited without becoming ready
insmod for motmod failed, returned -1

Shutting down and cleaning up LinuxCNC...
USRMOT: ERROR: command 30 timeout
emcMotionInit: emcTrajInit failed
Note: Using POSIX realtime



 
Last edit: 1 year 7 months ago by papagno-source.

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

More
1 year 7 months ago #324068 by Aciera
try this and recompile
Code:
sudo ln -s /usr/include/eigen3/Eigen /usr/include/Eigen

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

Time to create page: 0.312 seconds
Powered by Kunena Forum