Re: [Emc-users] Installing From Debian?

2023-07-06 Thread Thaddeus Waldner
Yeah, I used the net installer. I didn’t install a different kernel because 
Bookworm preinstalls the preempt-rt kernel (version 6.1.27-1). Installing 
LinuxCNC configured grub to load it by default.


> On Jul 6, 2023, at 2:57 PM, Todd Zuercher  wrote:
> 
> I've been playing with it a bit today.
> 
> The first and biggest news that I've found is that the Debian live ISOs for 
> Bookworm seem to be borked somehow.  It seems to install and run fine until 
> you try to install a different kernel than the original one on the ISO.  Then 
> it get all huffy about some deb not installing correctly and remaining 
> unconfigured and makes it all but impossible to install the real time kernel. 
>  (It is a bit beyond the effort I was wanting to put into it to figure it 
> out.)
> 
> Using the Net Install ISO however worked fine and allowed the Preempt-RT 
> kernel to install correctly.  Latency is only OK but should work with the 
> Mesa card I plan to use.  (Still fiddling with getting the best latency, 
> right now the best I have is about 60us with ISOLCPUS=2,3 on an older i5 pc.)
> 
> Todd Zuercher
> P. Graham Dunn Inc.
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
> 
> -Original Message-
> From: Thaddeus Waldner mailto:thadw...@gmail.com>>
> Sent: Wednesday, July 05, 2023 10:51 PM
> To: Enhanced Machine Controller (EMC)  >
> Subject: Re: [Emc-users] Installing From Debian?
> 
> [EXTERNAL EMAIL] Be sure links are safe.
> 
> I just set up a replacement computer for an existing machine. The part I had 
> the most trouble with turned out to be caused by a wifi router being 
> misconfigured. Once that was ironed out, system took off without a hitch and 
> has been running trouble-free for several days now.
> 
> I followed the guide here:
> 
> http://linuxcnc.org/docs/2.9/html/getting-started/getting-linuxcnc.html
> 
> 
> I highly recommend this route.
> 
> To aid in figuring out which cores to isolate, I like to use lstopo. It is 
> part of the hwloc package.
> 
> I have found that on multicore machines, it helps to isolate the last core, 
> as well as any adjacent cores that it shares resources with. For example, 
> some low power quad core Intel processors share a L2 cache between 2 cores.
> 
> 
> 
>> On Jul 5, 2023, at 5:22 PM, Todd Zuercher  wrote:
>> 
>> 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
> 
> 
> ___
> 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-06 Thread Todd Zuercher
I've been playing with it a bit today.

The first and biggest news that I've found is that the Debian live ISOs for 
Bookworm seem to be borked somehow.  It seems to install and run fine until you 
try to install a different kernel than the original one on the ISO.  Then it 
get all huffy about some deb not installing correctly and remaining 
unconfigured and makes it all but impossible to install the real time kernel.  
(It is a bit beyond the effort I was wanting to put into it to figure it out.)

Using the Net Install ISO however worked fine and allowed the Preempt-RT kernel 
to install correctly.  Latency is only OK but should work with the Mesa card I 
plan to use.  (Still fiddling with getting the best latency, right now the best 
I have is about 60us with ISOLCPUS=2,3 on an older i5 pc.)

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

-Original Message-
From: Thaddeus Waldner 
Sent: Wednesday, July 05, 2023 10:51 PM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] Installing From Debian?

[EXTERNAL EMAIL] Be sure links are safe.

I just set up a replacement computer for an existing machine. The part I had 
the most trouble with turned out to be caused by a wifi router being 
misconfigured. Once that was ironed out, system took off without a hitch and 
has been running trouble-free for several days now.

I followed the guide here:

http://linuxcnc.org/docs/2.9/html/getting-started/getting-linuxcnc.html


I highly recommend this route.

To aid in figuring out which cores to isolate, I like to use lstopo. It is part 
of the hwloc package.

I have found that on multicore machines, it helps to isolate the last core, as 
well as any adjacent cores that it shares resources with. For example, some low 
power quad core Intel processors share a L2 cache between 2 cores.



> On Jul 5, 2023, at 5:22 PM, Todd Zuercher  wrote:
>
> 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


___
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-06 Thread John Allwine
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?

> 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://lists.sourceforge.net/lists/listinfo/emc-users
>>> 
>> 
>> ___
>> 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


___
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-06 Thread Eric Keller
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://lists.sourceforge.net/lists/listinfo/emc-users
> >
>
> ___
> 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


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

2023-07-06 Thread Roland Jollivet
https://www.youtube.com/watch?v=KHB5ecOgr2o

I think the machine runs off a Beaglebone board.

Roland


On Thu, 6 Jul 2023 at 18:48, Chris Albertson 
wrote:

>
>
> > On Jul 6, 2023, at 9:22 AM, 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?
>
> Does this device move all four axes at the same time while cutting?  Or
> does it use the fourth axis only to reposition the work?
>
>

___
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-06 Thread Chris Albertson



> On Jul 6, 2023, at 9:22 AM, 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?

Does this device move all four axes at the same time while cutting?  Or does it 
use the fourth axis only to reposition the work?   



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


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

2023-07-06 Thread Roland Jollivet
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://lists.sourceforge.net/lists/listinfo/emc-users
>

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