Re: [Emc-developers] Axis and Joint limits

2020-10-13 Thread andy pugh
On Tue, 13 Oct 2020 at 09:11, andy pugh  wrote:

> Anyway, the problems continued last night, but have changed.
> It basically does what I want, except that I get f-error shut-downs
> when switching to jog mode. Which seems rather strange.

It seems less strange now that I have realised that my forwards and
inverse kins are not congruent with each other.
(I had checked in Excel, but the Excel equations did not match the C equations)

-- 
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-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Axis and Joint limits

2020-10-13 Thread andy pugh
On Tue, 13 Oct 2020 at 09:04, andy pugh  wrote:

> True, but the axis limits would be very difficult to express in an INI
> file as the limits are not a cuboid, and the tool angle limits depend
> on where the tool point is inside the complex shape too.

Anyway, the problems continued last night, but have changed.
It basically does what I want, except that I get f-error shut-downs
when switching to jog mode. Which seems rather strange. I guess the
next step is to graph the f-errors to see if they are large or small
enough to bypass by stretching the limits.
(ie, if it is a real f-error or a sudden jump in apparent position
caused by the kins)

I feel that I might need to add some HAL pins to the kins to look at
the real values of tran.x, tran.z, J[0] and J[1] that are being worked
with.

I think that there is a way to test kins from the command line (ie
load a kins and feed it inputs) but I can't remember it.

-- 
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-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Axis and Joint limits

2020-10-13 Thread andy pugh
On Tue, 13 Oct 2020 at 02:43, Frank Tkalcevic
 wrote:
>
> > Under what sort of circumstances would you have different axis and joint 
> > limits?
>
> A robot arm will have joints and axis that completely different.

True, but the axis limits would be very difficult to express in an INI
file as the limits are not a cuboid, and the tool angle limits depend
on where the tool point is inside the complex shape too.

-- 
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-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Axis and Joint limits

2020-10-12 Thread Frank Tkalcevic
> Under what sort of circumstances would you have different axis and joint 
> limits? 

A robot arm will have joints and axis that completely different.



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


Re: [Emc-developers] Axis and Joint limits

2020-10-12 Thread Gene Heskett
On Monday 12 October 2020 16:02:50 andy pugh wrote:

> I feel that this is the sort of question that I would expect to be
> answering, not asking, but...
>
> Under what sort of circumstances would you have different axis and
> joint limits? The INI config docs don't really say, and in fact use
> "axis" in the "joints" section to add to the confusion.
>
> I am trying to set my mll up with a manual B axis. I want to be able
> to tilt the head manually, then set the angle in the GUI (by jogging
> or MDI) and have the XZ plane rotate.

I've never done it by that description, but I've never had limits coming 
into play in an axis that has no rev limits. But this description seems 
to entail both A and B rotations, so even if one of these axises is 
manually tilted, it seems to me you need to set the B axis with at least 
a parameter imported from the .ini or by a pyvcp spin dial so that 
linuxcnc knows this tilt angle. Then, if using the correct kins, you'd 
at least have a troubleshootable test setup.

> This sort-of works, but I keep getting soft limit errors when the
> machine is nowhere near the physical joint limits.
>
> I am wondering what drawback there might be with simply expanding the
> axis limits.

That, to me would be spooky math, particularly no better than I am at the 
various transcendental's.

One of the things I expect to battle with is exactly this in configureing 
a BS-1 clone for use on the G0704, primarily because with a chuck 
mounted, tilting that head will at some tilt angles, be put the cutting 
tool higher than the head can reach. I should have bought a BS-0, and 
might have to yet.  But compared to a BS-1, a BS-0 is a toy.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


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


Re: [Emc-developers] Axis and Joint limits

2020-10-12 Thread andy pugh
On Mon, 12 Oct 2020 at 21:02, andy pugh  wrote:

> This sort-of works, but I keep getting soft limit errors when the
> machine is nowhere near the physical joint limits.

Part of this might be because I am using a non-identity kins declaring
as KINEMATICS_IDENTITY, but this was meant to be a minor tweak to a
machine that is set up for Touchy.
(And Touchy refuses to run with KINEMATCS_BOTH)

Well, the version of 2.8 I am running does, anyway. I probably should
update to the current release.

-- 
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-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] Axis and Joint limits

2020-10-12 Thread andy pugh
I feel that this is the sort of question that I would expect to be
answering, not asking, but...

Under what sort of circumstances would you have different axis and
joint limits? The INI config docs don't really say, and in fact use
"axis" in the "joints" section to add to the confusion.

I am trying to set my mll up with a manual B axis. I want to be able
to tilt the head manually, then set the angle in the GUI (by jogging
or MDI) and have the XZ plane rotate.

This sort-of works, but I keep getting soft limit errors when the
machine is nowhere near the physical joint limits.

I am wondering what drawback there might be with simply expanding the
axis limits.

-- 
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-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers