Gantry hal example

More
10 years 5 months ago #75098 by andypugh
Replied by andypugh on topic Gantry hal example

mjohnsonsa wrote: Okay, I got JA14 installed. When I launched it the attached error occurred trying to convert my config files.


Hoping that you kept the converted files...

Can you zip-up the whole converted config folder and attach it to a message? It looks like there might be something wrong with the config conversion script that I need to fix.

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

More
10 years 5 months ago #75099 by mjohnsonsa
Replied by mjohnsonsa on topic Gantry hal example
I removed all the Halui stuff and then it launched correctly.

I homed all the axis and it seemed to work fine. I then homed again and after homing the first axis the program froze.

I will mess with it some more and see if that was an unrelated anomaly. Once I killed the process and restarted it seems to be working fine, not sure what caused the crash, is there a debug file anywhere?

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

More
10 years 5 months ago #75100 by dgarrett
Replied by dgarrett on topic Gantry hal example

LINUXCNC - 2.8.0~pre1-ja~joints-axes14~dcf1672

The version that synaptic retrieved is out of date and does not
include the most recent modifications to the update_ini script
that converts configurations.

There seems to be a problem with the way synaptic (or whatever
selects debs) chooses from the numerous scratch versions
available. Looking at

buildbot.linuxcnc.org/dists/wheezy/scrat...preempt/binary-i386/

The current joints_axes14 debs are:
Code:
linuxcnc-uspace_2.8.0~pre1.ja~joints.axes14~0e3ed22_i386.deb 16-May-2016 19:53 5.6M linuxcnc-uspace_2.8.0~pre1.ja~joints.axes14~02ab263_i386.deb 13-May-2016 15:15 5.6M linuxcnc-uspace_2.8.0~pre1.ja~joints.axes14~5e60946_i386.deb 14-May-2016 23:26 5.6M linuxcnc-uspace_2.8.0~pre1.ja~joints.axes14~8a3bf49_i386.deb 15-May-2016 14:17 5.6M linuxcnc-uspace_2.8.0~pre1.ja~joints.axes14~42d81ae_i386.deb 22-May-2016 13:45 5.6M linuxcnc-uspace_2.8.0~pre1.ja~joints.axes14~45ccdfb_i386.deb 15-May-2016 22:29 5.6M linuxcnc-uspace_2.8.0~pre1.ja~joints.axes14~608ad22_i386.deb 15-May-2016 12:04 5.6M linuxcnc-uspace_2.8.0~pre1.ja~joints.axes14~925c0c2_i386.deb 16-May-2016 18:10 5.6M linuxcnc-uspace_2.8.0~pre1.ja~joints.axes14~b481dfe_i386.deb 12-May-2016 17:01 5.6M linuxcnc-uspace_2.8.0~pre1.ja~joints.axes14~ca2f492_i386.deb 20-May-2016 12:06 5.6M linuxcnc-uspace_2.8.0~pre1.ja~joints.axes14~cc730c1_i386.deb 14-May-2016 21:16 5.6M linuxcnc-uspace_2.8.0~pre1.ja~joints.axes14~dcf1672_i386.deb 15-May-2016 09:13 5.6M

It looks like the selection is the last deb in an alphabetic sort instead
of a more proper sort by date.

You can wget and install a deb. First walk the tree at:
buildbot.linuxcnc.org/dists
to find appropriate OS/scratch-TYPE/ARCH

Example for wheezy/scratch-rtpreempt/binary-i386:
Code:
# get the deb from the link: wget http://buildbot.linuxcnc.org/dists/wheezy/scratch-rtpreempt/binary-i386/linuxcnc-uspace_2.8.0~pre1.ja~joints.axes14~42d81ae_i386.deb # install the deb: sudo dpkg -i http://buildbot.linuxcnc.org/dists/wheezy/scratch-rtpreempt/binary-i386/linuxcnc-uspace_2.8.0~pre1.ja~joints.axes14~42d81ae_i386.deb

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

  • seb_kuzminsky
  • Administrator
  • Administrator
More
10 years 5 months ago #75103 by seb_kuzminsky
Replied by seb_kuzminsky on topic Gantry hal example
It's true, the scratch debs aren't currently sorted in any useful way.

For release branches like 2.6 and 2.7 we can invent meaningful version numbers, since we have just a single branch to think about and since commits within a branch are naturally ordered. But all non-release branches are mixed together in the scratch component of the buildbot's debian archive, so there's no natural way to have ordering between the debs there.

We could do slightly better by having a per-branch commit number in the debian package version number, but automatic upgrades still won't work since they'd happily skip to a different branch in the scratch repo.

The best advise i can give right now is this:

You can list the scratch debs available by running:
Code:
apt-cache policy linuxcnc
Or, if you're on rtpreempt or vanilla kernels:
Code:
apt-cache policy linuxcnc-uspace

Once you know the version of the deb you want you can get it in and install it in one step, like this:
Code:
apt-get install linuxcnc=${VERSION}
For example:
Code:
apt-get install linuxcnc-uspace=2.8.0~pre1.ja~joints.axes14~42d81ae

I hope this helps a little.

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

More
10 years 5 months ago #75104 by mjohnsonsa
Replied by mjohnsonsa on topic Gantry hal example
Does the latest version address the issue with pncconf not letting you proceed with the wizard when you select a tandem access? It ask you to select which stepper is master but does not appear to give you a method to do so...

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

More
10 years 5 months ago #75123 by mjohnsonsa
Replied by mjohnsonsa on topic Gantry hal example
I followed your instructions and loaded the latest JA14. I ran pncconf and created a fresh profile. The machine will not home now, in order to not convolute this thread I started a new one with the symptoms and my config. The config is vanilla, no customizations beyond what was created with the wizard. Can you tell me if this is a bug in JA14?

forum.linuxcnc.org/forum/38-general-linu...1013-ja14-not-homing

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

Time to create page: 0.125 seconds
Powered by Kunena Forum