Re: [Emc-users] Installing From Debian?

2023-07-08 Thread John Dammeyer
And this install page has issues.
https://linuxcnc.org/docs/stable/html/getting-started/getting-linuxcnc.html#_installing_on_raspbian_10

tells me the key is a new key but no user id.  Continuing with the sudo apt-get 
update in the instructions tells me the signatures can't be verified because 
the NO_PUBKEY ... isn't available.

And apt-key is deprecated.

OTOH, no trouble installing the Arduino IDE.

> -Original Message-
> From: andy pugh [mailto:bodge...@gmail.com]
> Sent: July 8, 2023 1:33 PM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] Installing From Debian?
> 
> On Sat, 8 Jul 2023 at 21:31, John Dammeyer 
> wrote:
> 
> > sudo apt-get install linuxcnc
> > It reported an error
> > E: Unable to locate package linuxcnc
> 
> It's actually linuxcnc-uspace
> 
> (Maybe it shouldn't be any more, but I guess we are stuck with that now)
> 
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> � George Fitch, Atlanta Constitution Newspaper, 1912
> 
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Installing From Debian?

2023-07-08 Thread John Dammeyer
Same error.   Unable to locate package.  Sudo apt-get install does work as I 
downloaded and installed lazarus.

> -Original Message-
> From: andy pugh [mailto:bodge...@gmail.com]
> Sent: July 8, 2023 1:33 PM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] Installing From Debian?
> 
> On Sat, 8 Jul 2023 at 21:31, John Dammeyer 
> wrote:
> 
> > sudo apt-get install linuxcnc
> > It reported an error
> > E: Unable to locate package linuxcnc
> 
> It's actually linuxcnc-uspace
> 
> (Maybe it shouldn't be any more, but I guess we are stuck with that now)
> 
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> � George Fitch, Atlanta Constitution Newspaper, 1912
> 
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Installing From Debian?

2023-07-08 Thread andy pugh
On Sat, 8 Jul 2023 at 21:31, John Dammeyer  wrote:

> sudo apt-get install linuxcnc
> It reported an error
> E: Unable to locate package linuxcnc

It's actually linuxcnc-uspace

(Maybe it shouldn't be any more, but I guess we are stuck with that now)

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Installing From Debian?

2023-07-08 Thread John Dammeyer
I have an old MacBook (A1278) that is currently running Debian GNU/Linux with a 
Raspberry Pi Desktop.  
Is it possible to install LinuxCNC into this environment?
I did try:
sudo apt-get install linuxcnc
It reported an error 
E: Unable to locate package linuxcnc

John


> -Original Message-
> From: andy pugh [mailto:bodge...@gmail.com]
> Sent: July 8, 2023 10:29 AM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] Installing From Debian?
> 
> On Thu, 6 Jul 2023 at 02:59, Todd Zuercher 
> wrote:
> >
> > Any one installed Debian 12 and running  Linuxcnc on a machine?
> 
> I recently did a clean install on my Macbook (I can now dual-boot
> simultaneously: https://photos.app.goo.gl/jEjzzJmjDVqouQh79 )
> 
> It went very smoothly. I downloaded the ISO, put it on a USB using dd,
> installed Linux and then sudo apt-get install linuxcnc and it all just
> worked.
> 
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> � George Fitch, Atlanta Constitution Newspaper, 1912
> 
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Installing From Debian?

2023-07-08 Thread andy pugh
On Thu, 6 Jul 2023 at 02:59, Todd Zuercher  wrote:
>
> Any one installed Debian 12 and running  Linuxcnc on a machine?

I recently did a clean install on my Macbook (I can now dual-boot
simultaneously: https://photos.app.goo.gl/jEjzzJmjDVqouQh79 )

It went very smoothly. I downloaded the ISO, put it on a USB using dd,
installed Linux and then sudo apt-get install linuxcnc and it all just
worked.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Installing From Debian?

2023-07-08 Thread Karl Schmidt

Just did that.

I had earlier tried to move to bullseye - but a glade problem got in my way -

So just 2 days ago - I first upgraded from buster to bullseye - then bullseye to bookworm  - installed linuxcnc from the 
debian repository.


Good overview of upgrade at 
https://www.debian.org/releases/bookworm/amd64/release-notes/ch-upgrading.en.html

Tells you how to clean out cruft before hand.

Only had a couple of minor problems - I had to reinstall a customized component - and fix a hal line that it didn't used 
to complain about.  There was a missing '(' in the old copy of hitcounter.py


What really made me smile is gladvcp just worked!
   I run under kde - so I disabled the search indexing engine and other fluff.

You can run htop - before the desktop starts - go over all the tasks that you 
probably don't want.

You can disable tasks with systemctl disable task-name

# cat /sys/module/apparmor/parameters/enabled   Should return N if you get it 
disabled -


You will want to disable apparmor.
You need to set a kernel paramater..  My line looked like this (a four core 
machine)

GRUB_CMDLINE_LINUX_DEFAULT="quiet text isolcpus=2,3 apparmor=0"

isolcpus makes a difference as well.

This is with three copies of glxgears running:
https://lrak.net/secret/pictures/2023/2023/2023-07-08_11-27-14_png.jpeg.html

Of course, latency is not so important is you are doing counting in hardware 
(think Messa)..


See
https://forum.linuxcnc.org/9-installing-linuxcnc/48512-the-case-for-debian-bookworm-and-the-6-1-kernel-including-installation-notes









On 7/5/23 05:22PM, Todd Zuercher wrote:

Any one installed Debian 12 and running  Linuxcnc on a machine?  Since Linuxcnc 
is now in Debian Stable, I was wondering if anyone cared to voice their 
opinions about installing and running Linuxcnc that way.

I have a machine that I am starting to refit and I am considering trying to 
install that way rather than using one of the more obsolete Linuxcnc ISOs.

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


--

Karl Schmidt  EMail k...@lrak.net
3209 West 9th Street  Ph (785) 841-3089
Lawrence, KS 66049

Ignorant people think it's the noise which fighting
cats make that is so aggravating, but it ain't so;
it's the sickening grammar they use. ~ Mark Twain



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] [Emc-developers] Trajectory planner shortcomings

2023-07-08 Thread Marius
I did not do the G93 test myself but one of the other members did. The 
gcode is on the thread


On 2023/07/07 18:21, John Allwine wrote:

Can you attach a G code program that uses G93 that demonstrates the issue 
you’re describing with your INI config file you’re using?



On Jul 7, 2023, at 8:19 AM, Marius  wrote:

Have a look at this forum thread where all the testing was done and the 
problem discussed as it was encountered. Everything that you mentioned here was 
tested and the results are not always as expected.

https://forum.linuxcnc.org/plasmac/49293-qtplasmac-with-fourth-axis-rotary?start=60



On 2023/07/07 16:03, Todd Zuercher wrote:
The single line look-ahead is only a limiting factor when commanded g-code 
segments are shorter than what your acceleration settings can achieve the 
commanded speed in.  For example if your machine is configured for 100in/sec^2 
acceleration and milling at 90inchs/min it would be able to maintain full speed 
through g-code with segments a little less than 0.01 inch long without any slow 
down due to single line look-ahead.

Don't be confused by the huge slow down potentially caused by not using G93 
(inverse time feeds) when you should be for mixed linear/angular commands.  
That slow down is caused by the F feed rate being applied in degrees/min 
limiting the moves speed (a 10 degree move at normal F90 will take 6.7 
seconds.)  A move will always be limited by which ever is slower the move's F 
speed in degrees/min or distance/min.  If a combined move's degrees moved is 
greater than the linear distance moved, then the feed rate of the angular move 
will be controlling the time of the move.  Switching from inches to mm in your 
G-code could also have a big effect, making the F settings 25.4 times larger, 
and therefore the angular moves 25.4 times faster.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Marius 
Sent: Friday, July 07, 2023 4:17 AM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] [Emc-developers] Trajectory planner shortcomings

[EXTERNAL EMAIL] Be sure links are safe.


On 2023/07/06 22:54, John Allwine wrote:
The latest software on the Pocket NC is using the same trajectory planner as 
what is in LinuxCNC.

I haven’t followed the whole thread. What seems to be wrong with the trajectory 
planner when doing 4 or 5-axis?

The trajectory planner only has one line look ahead for any rotary axis.
So this means that trajectory planning is not really happening and performance 
is very poor when trying to achieve faster moves.




On Jul 6, 2023, at 12:34 PM, Eric Keller  wrote:

The Pocket NC runs Machinekit.  I'm told machinekit has a better TP,
but I haven't seen any evidence of that.


On Thu, Jul 6, 2023 at 12:27 PM Roland Jollivet
 wrote:

The small 4-axis CNC machine,'Pocket Nc' uses LinuxCNC as far as I
can tell, and it seems to run just fine. Or does it?

Roland




On Tue, 4 Jul 2023 at 20:16, andy pugh  wrote:


On Tue, 4 Jul 2023 at 18:34, Marius  wrote:
The problem seems to be that our trajectory planner lack the
ability to look ahead for any rotary axis. This means that a
coordinated move that includes a rotary move will be dysfunctional at best.

It's not as bad as that.

There is a 9-axis blending planner in Tormach, but it's not trivial
to merge it with Linuxcnc due to divergence in the codebase.

If we could get hold of the patches that introduced it to Tormach
then we could look at integrating it, but doing it just from
comparing the code sounds hard.

--
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils
and lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://l/
ists.sourceforge.net%2Flists%2Flistinfo%2Femc-users=05%7C01%7C
toddz%40pgrahamdunn.com%7Cab74bf847dbf4526bf1508db7ec2a17c%7C575854
4c573f47cebee96c3e0806fb43%7C0%7C0%7C638243146663401436%7CUnknown%7
CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLC
JXVCI6Mn0%3D%7C3000%7C%7C%7C=TFj1jTETd5iX3h7J8%2B%2FNc3usPgZF
o8N4E7lrAShUfhU%3D=0


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://li/
sts.sourceforge.net%2Flists%2Flistinfo%2Femc-users=05%7C01%7Cto
ddz%40pgrahamdunn.com%7Cab74bf847dbf4526bf1508db7ec2a17c%7C5758544c5
73f47cebee96c3e0806fb43%7C0%7C0%7C638243146663401436%7CUnknown%7CTWF
pbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI
6Mn0%3D%7C3000%7C%7C%7C=TFj1jTETd5iX3h7J8%2B%2FNc3usPgZFo8N4E7
lrAShUfhU%3D=0

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lis/
ts.sourceforge.net%2Flists%2Flistinfo%2Femc-users=05%7C01%7Ctodd
z%40pgrahamdunn.com%7Cab74bf847dbf4526bf1508db7ec2a17c%7C5758544c573f

Re: [Emc-users] [Emc-developers] Trajectory planner shortcomings

2023-07-08 Thread Phill Carter via Emc-users


> On 8 Jul 2023, at 2:21 am, John Allwine  wrote:
> 
> Can you attach a G code program that uses G93 that demonstrates the issue 
> you’re describing with your INI config file you’re using?

I think these are the last ones used for my tests.



axis_tube_cutting.ini
Description: Binary data


pipe_axis_rotary_G93.ngc
Description: Binary data


pipe_axis_rotary_G94.ngc
Description: Binary data


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users