ubuntu 10.04 Lcnc2.7 JA8 custom kins
17 Nov 2015 15:02 - 18 Nov 2015 10:11 #65375
by bkt
ubuntu 10.04 Lcnc2.7 JA8 custom kins was created by bkt
is possible to install some version of Joint_Axes on ubuntu 10.04 and Lcnc 2.7? Where can download these version?
I get JA8 from git but I doubt if I can successfully install it on a PC with Ubuntu 10.04 and 07.02 LCNC ..... I fear jumps out some lack of dependencies .
Tanks for suggest. (for now I want to keep ubuntu10.04)
Giorgio
I get JA8 from git but I doubt if I can successfully install it on a PC with Ubuntu 10.04 and 07.02 LCNC ..... I fear jumps out some lack of dependencies .
Tanks for suggest. (for now I want to keep ubuntu10.04)
Giorgio
Last edit: 18 Nov 2015 10:11 by bkt.
Please Log in or Create an account to join the conversation.
17 Nov 2015 16:32 #65381
by andypugh
It should be no problem at all to compile JA8 on 10.04 (or, to be more accurate, no more trouble than compiling any other version).
Just try it, and work through the problems one by one.
You can try the following commands to check the build dependencies
$ cd debian
$ ./configure
$ cd ..
$ dpkg-checkbuilddeps
That will give a list of packages which is almost ready for a mammoth "sudo apt-get install" command. Some editing is needed in cases where it gives options or a minimum version number.
Replied by andypugh on topic ubuntu 10.04 Lcnc2.7 JA??
I get JA8 from git but I doubt if I can successfully install it on a PC with Ubuntu 10.04 and 07.02 LCNC ..... I fear jumps out some lack of dependencies .
It should be no problem at all to compile JA8 on 10.04 (or, to be more accurate, no more trouble than compiling any other version).
Just try it, and work through the problems one by one.
You can try the following commands to check the build dependencies
$ cd debian
$ ./configure
$ cd ..
$ dpkg-checkbuilddeps
That will give a list of packages which is almost ready for a mammoth "sudo apt-get install" command. Some editing is needed in cases where it gives options or a minimum version number.
The following user(s) said Thank You: bkt
Please Log in or Create an account to join the conversation.
17 Nov 2015 18:50 - 17 Nov 2015 19:02 #65391
by bkt
Replied by bkt on topic ubuntu 10.04 Lcnc2.7 JA??
perfect ... but for make a launcher ??? my intallation folder is/linuxcnc_JA8 ....but I have the linuxcnc folder for Lcnc2.7 .... I try to change in my launcher into
but run only Lcnc2.7
linuxcnc home/k1/linuxcnc_JA8/config/myapp.ini
but run only Lcnc2.7
Last edit: 17 Nov 2015 19:02 by bkt.
Please Log in or Create an account to join the conversation.
17 Nov 2015 19:23 #65393
by bkt
Replied by bkt on topic ubuntu 10.04 Lcnc2.7 JA??
ok ok ...... in my case:
but I return an error
and in print.txt
Why these? .....
Regards
Giorgio
.../home/.../linuxcnc_JA8/script/rip-environment linuxcnc /......./config/n/n.ini
but I return an error
2764
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
and in print.txt
RUN_IN_PLACE=yes
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/home/k1-stab/linuxcnc-joints_axes8/bin
LINUXCNC_TCL_DIR=/home/k1-stab/linuxcnc-joints_axes8/tcl
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/home/k1-stab/linuxcnc-joints_axes8/rtlib
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/home/k1-stab/linuxcnc-joints_axes8/src/objects
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
INIFILE=/home/k1-stab/linuxcnc-joints_axes8/configs/n/n.ini
VERSION=1.0
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Killing task linuxcncsvr, PID=2764
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Why these? .....
Regards
Giorgio
Please Log in or Create an account to join the conversation.
17 Nov 2015 19:45 #65395
by andypugh
Replied by andypugh on topic ubuntu 10.04 Lcnc2.7 JA??
To run a self-compiled version of LinuxCNC you typically need to open a terminal and run(which really is dot space at the beginning) to set up that particular terminal session to use your version, then start linuxcnc from the command line with
To make a shortcut run the new version you have to actually install during the compile process. You can do this with ./configure --prefix=/usr but it is probably best to try it out without messing up the installed version first.
. linuxnc-dev/scripts/rip-environment
linuxcnc
To make a shortcut run the new version you have to actually install during the compile process. You can do this with ./configure --prefix=/usr but it is probably best to try it out without messing up the installed version first.
The following user(s) said Thank You: bkt
Please Log in or Create an account to join the conversation.
17 Nov 2015 20:19 - 17 Nov 2015 20:50 #65396
by bkt
Replied by bkt on topic ubuntu 10.04 Lcnc2.7 JA??
In a terminal...
Isn't the same? .... I try in these way and I get the error ...... tomorrow I try in these :
For controll .....you put the link to check the version JA8 correct ? ..... I checked and mine is full of gitignore ..... I would have installed a fake .
cd /home/myInstallationFolder/scripts
. rip-environment
linuxcnc /config/myconfigfolder/myconfig.ini
Isn't the same? .... I try in these way and I get the error ...... tomorrow I try in these :
. linuxnc-dev/scripts/rip-environment
For controll .....you put the link to check the version JA8 correct ? ..... I checked and mine is full of gitignore ..... I would have installed a fake .
Last edit: 17 Nov 2015 20:50 by bkt.
Please Log in or Create an account to join the conversation.
18 Nov 2015 10:09 - 18 Nov 2015 10:10 #65411
by bkt
Replied by bkt on topic ubuntu 10.04 Lcnc2.7 JA??
ok ..... whit complete command in a terminal :start JA8 and I can choose my config from Lcnc-JA8 menĂ¹ .... the script reconfigure ini and hal file or, as in my case, bring the ini and hal file modify by hand .... this is ok.
But I use custom deltakins kinematics (is different from tripodkins, use 2 side of triangle and the length of 2 link ... than I add other 2 axis) need to compile for JA8 version. Mine is .c file ..... I think I can compile it with gcc but in whitch directory of JA8?
cd myinstallationfolder-of-JA8
. config/rip-environment
linuxcnc
But I use custom deltakins kinematics (is different from tripodkins, use 2 side of triangle and the length of 2 link ... than I add other 2 axis) need to compile for JA8 version. Mine is .c file ..... I think I can compile it with gcc but in whitch directory of JA8?
Last edit: 18 Nov 2015 10:10 by bkt.
Please Log in or Create an account to join the conversation.
18 Nov 2015 10:46 #65413
by andypugh
Once you have run the . rip-environment script then "sudo halcompile --install yourkins.c" will install the kinematics in the correct place.
Alternatively you can put your kinematics with the others in src/emc/kinematics and edit the Makefile to add your kinematics to the normal compile.
git.linuxcnc.org/gitweb?p=linuxcnc.git;a...bc48665a300515b#l888
If you search for "trivkins" you will find 5 entries, just duplicate those lines for your kinematics.
It is likely that the "halcompile" method is more suitable for your situation.
Replied by andypugh on topic ubuntu 10.04 Lcnc2.7 JA??
But I use custom deltakins kinematics (is different from tripodkins, use 2 side of triangle and the length of 2 link ... than I add other 2 axis) need to compile for JA8 version. Mine is .c file ..... I think I can compile it with gcc but in whitch directory of JA8?
Once you have run the . rip-environment script then "sudo halcompile --install yourkins.c" will install the kinematics in the correct place.
Alternatively you can put your kinematics with the others in src/emc/kinematics and edit the Makefile to add your kinematics to the normal compile.
git.linuxcnc.org/gitweb?p=linuxcnc.git;a...bc48665a300515b#l888
If you search for "trivkins" you will find 5 entries, just duplicate those lines for your kinematics.
It is likely that the "halcompile" method is more suitable for your situation.
Please Log in or Create an account to join the conversation.
18 Nov 2015 10:52 #65414
by bkt
Replied by bkt on topic ubuntu 10.04 Lcnc2.7 JA??
ok ok stupid question ..... usingI copy compiled version of my custom deltakins from Lcnc 2.7 rtai/module to myistallationfolder-of-ja8/rtlib and all works ....
Bu I see that I have the original issue .... external jog not jogging in world mode .... axis +/+ button jog works in all mode .... I try to set teleop mode after all axis are homed but this not solve.
Than the terminal show me these first and than run correctly my config
but there is not joint.s in my conf in any place. Not at all.
These a piece of hal file for jog .... net joint-select-a => joint.0.jog-enable # <= hm2_5i25.0.7i77.0.0.input-16 ...obviuusly these net joint-select-a is connect with hm2.....16pin in an other parts of file ....
sudo nautilus
Bu I see that I have the original issue .... external jog not jogging in world mode .... axis +/+ button jog works in all mode .... I try to set teleop mode after all axis are homed but this not solve.
Than the terminal show me these first and than run correctly my config
waiting for s.joints
waiting for s.joints
waiting for s.joints
waiting for s.joints
waiting for s.joints
waiting for s.joints
waiting for s.joints
waiting for s.joints
but there is not joint.s in my conf in any place. Not at all.
These a piece of hal file for jog .... net joint-select-a => joint.0.jog-enable # <= hm2_5i25.0.7i77.0.0.input-16 ...obviuusly these net joint-select-a is connect with hm2.....16pin in an other parts of file ....
Warning: Spoiler!
# for axis x MPG
setp joint.0.jog-vel-mode 0
net selected-jog-incr => joint.0.jog-scale
net joint-select-a => joint.0.jog-enable # <= hm2_5i25.0.7i77.0.0.input-16
net joint-selected-count => joint.0.jog-counts #halui.jog.0.increment
# for axis y MPG
setp joint.1.jog-vel-mode 0
net selected-jog-incr => joint.1.jog-scale
net joint-select-b => joint.1.jog-enable # <= hm2_5i25.0.7i77.0.0.input-17
net joint-selected-count => joint.1.jog-counts #halui.jog.1.increment
# for axis z MPG
setp joint.2.jog-vel-mode 0
net selected-jog-incr => joint.2.jog-scale
net joint-select-c => joint.2.jog-enable # <= hm2_5i25.0.7i77.0.0.input-18
net joint-selected-count => joint.2.jog-counts #halui.jog.2.increment
# for axis a MPG
setp joint.3.jog-vel-mode 0
net selected-jog-incr => joint.3.jog-scale
net joint-select-d => joint.3.jog-enable # <= hm2_5i25.0.7i77.0.0.input-19
net joint-selected-count => joint.3.jog-counts #halui.jog.3.increment
# for axis b MPG
setp joint.4.jog-vel-mode 0
net selected-jog-incr => joint.4.jog-scale
net joint-select-e => joint.4.jog-enable # <= hm2_5i25.0.7i77.0.0.input-20
net joint-selected-count => joint.4.jog-counts # halui.jog.4.increment
# connect selectable mpg jog increments
net jog-incr-b => jogincr.sel0
net jog-incr-c => jogincr.sel1
net selected-jog-incr <= jogincr.out
#setp jogincr.debounce-time 0.200000
#setp jogincr.use-graycode False
#setp jogincr.suppress-no-input False
setp jogincr.in0 0.001000
setp jogincr.in1 0.010000
setp jogincr.in2 0.100000
setp jogincr.in3 1.000000
setp joint.0.jog-vel-mode 0
net selected-jog-incr => joint.0.jog-scale
net joint-select-a => joint.0.jog-enable # <= hm2_5i25.0.7i77.0.0.input-16
net joint-selected-count => joint.0.jog-counts #halui.jog.0.increment
# for axis y MPG
setp joint.1.jog-vel-mode 0
net selected-jog-incr => joint.1.jog-scale
net joint-select-b => joint.1.jog-enable # <= hm2_5i25.0.7i77.0.0.input-17
net joint-selected-count => joint.1.jog-counts #halui.jog.1.increment
# for axis z MPG
setp joint.2.jog-vel-mode 0
net selected-jog-incr => joint.2.jog-scale
net joint-select-c => joint.2.jog-enable # <= hm2_5i25.0.7i77.0.0.input-18
net joint-selected-count => joint.2.jog-counts #halui.jog.2.increment
# for axis a MPG
setp joint.3.jog-vel-mode 0
net selected-jog-incr => joint.3.jog-scale
net joint-select-d => joint.3.jog-enable # <= hm2_5i25.0.7i77.0.0.input-19
net joint-selected-count => joint.3.jog-counts #halui.jog.3.increment
# for axis b MPG
setp joint.4.jog-vel-mode 0
net selected-jog-incr => joint.4.jog-scale
net joint-select-e => joint.4.jog-enable # <= hm2_5i25.0.7i77.0.0.input-20
net joint-selected-count => joint.4.jog-counts # halui.jog.4.increment
# connect selectable mpg jog increments
net jog-incr-b => jogincr.sel0
net jog-incr-c => jogincr.sel1
net selected-jog-incr <= jogincr.out
#setp jogincr.debounce-time 0.200000
#setp jogincr.use-graycode False
#setp jogincr.suppress-no-input False
setp jogincr.in0 0.001000
setp jogincr.in1 0.010000
setp jogincr.in2 0.100000
setp jogincr.in3 1.000000
Please Log in or Create an account to join the conversation.
18 Nov 2015 12:02 #65419
by andypugh
Replied by andypugh on topic ubuntu 10.04 Lcnc2.7 JA??
[quote="k-1" post=65414but there is not joint.s in my conf in any place. Not at all.[/quote]
The "s" here is a variable that holds the status data for the LinuxCNC system. There is never an "s" axis in LinuxCNC.
What are you external-jogging with? Buttons or MPG?
The "s" here is a variable that holds the status data for the LinuxCNC system. There is never an "s" axis in LinuxCNC.
What are you external-jogging with? Buttons or MPG?
The following user(s) said Thank You: bkt
Please Log in or Create an account to join the conversation.
Time to create page: 0.080 seconds