- Posts: 238
- Thank you received: 0
TCP 5-axis kinematics
Please Log in to join the conversation.
on github it says src/emc/motion/motion.h but on my computer it is at /usr/include/linuxcnc/motion.h. how can i be sure that it is the correct file except looking at the code in github?
files i was able to find:
motion.h
kinematics.h
canon.h
emc.hh
emc_nml.hh
files i was not able to find:
control.c
command.c
Makefile
gcodemodule.cc
interp_array.cc
interp_check.cc
interp_convert.cc
interp_execute.cc
interp_internal.hh
interp_setup.cc
rs274ngc_interp.hh
rs274ngc_pre.cc
rs274ngc_return.hh
saicanon.cc
emccanon.cc
emctaskmain.cc
taskintf.cc
tp.c
Please Log in to join the conversation.
There is not yet switchKins implemented in my solution.
I will do a complete packet for xyzbc machine with switchKins as soon as I have some time.
Im hoping we will get this switching TCP on/off functionality out in next linuxcnc release?
When is next release date?
Please Log in to join the conversation.
- plopes9000
- Offline
- Premium Member
-
- Posts: 87
- Thank you received: 0
3D-Master wrote: by using the find command (find / -type f -name motion.h) i was able to find the file motion.h but at a completely different place.
on github it says src/emc/motion/motion.h but on my computer it is at /usr/include/linuxcnc/motion.h. how can i be sure that it is the correct file except looking at the code in github?
That means you don't have the code installed - see linuxcnc.org/docs/master/html/code/building-linuxcnc.html on how to install it for the purpose of building it.
so for example:
Now all the master branch code is locally available.
you can do the same to the switchkins branch:
to actually build it you need to do:
> cd linuxcnc-master-branch/src
> ./autogen.sh
> ./configure --with-realtime=uspace in my case ./configure --with-realtime=/usr/include/rtai --enable-non-distributable=yes
> make
then
> sudo make setuid
> source ../scripts/rip-environment
> runtests
of course you then need to apply the switchkin changes.
Please Log in to join the conversation.
Please Log in to join the conversation.
- plopes9000
- Offline
- Premium Member
-
- Posts: 87
- Thank you received: 0
[NEW]
I just blindly tar'ed all changed files
Please Log in to join the conversation.
3D-Master wrote: so i successfully switched from 2.7.14 to 2.8 but now my servos create a biig following error because they somehow turn really sluggish. Is that correct? has there been some changes to how linuxcnc drives servos?
No, that certainly is not correct.
I would suggest that you compare the new and old HAL files to see if the conversion has messed up the bit that sets the PID gains.
The other possible source of this problem is in the FF0 / FF1 / FF2 connections.
Please Log in to join the conversation.
./configure --with-realtime=uspace
it says:
Makefile:84: Makefile.inc: Datei oder Verzeichnis nicht gefunden
Makefile:95: *** Makefile.inc must specify RTPREFIX and other variables.
in ~/linuxcnc-master-branch/src i can see a file called "makefile.inc.in" and just "Makefile"
Please Log in to join the conversation.
(You probably need to install auto-tools)
Please Log in to join the conversation.
i needed to install some extra files and libraries and now it "makes" but then i get an error:
...
Linking halscope
Compiling emc/usr_intf/axis/extensions/emcmodule.cc
Linking python module linuxcnc.so
Linking ../rtlib/abs.so
ld: no input files
Makefile:1051: die Regel für Ziel „../rtlib/abs.so“ scheiterte
make: *** [../rtlib/abs.so] Fehler 1
stevie@stevie:~/linuxcnc-master-branch/src$
i have searched but havent found a solution
Please Log in to join the conversation.
