Re: [Emc-users] Question about kinematics

2012-06-25 Thread Viesturs Lācis
2012/6/25 andy pugh : > On 25 June 2012 11:38, Viesturs Lācis wrote: > >> /tmp/tmpvJHWwB/nhckins.c:107: error: expected identifier before '(' token > > This normally indicates a problem several lines further up the file, > typically a missed "}" symbol. > I think that your "if" in line 101 is the

Re: [Emc-users] Question about kinematics

2012-06-25 Thread Michael Haberler
Am 25.06.2012 um 12:38 schrieb Viesturs Lācis: > /tmp/tmpvJHWwB/nhckins.c: In function ‘init_module’: > /tmp/tmpvJHWwB/nhckins.c:107: error: expected identifier before ‘(’ token > /tmp/tmpvJHWwB/nhckins.c:110: error: expected identifier before ‘(’ token > make[2]: *** [/tmp/tmpvJHWwB/nhckins.o] E

Re: [Emc-users] Question about kinematics

2012-06-25 Thread andy pugh
On 25 June 2012 11:38, Viesturs Lācis wrote: > /tmp/tmpvJHWwB/nhckins.c:107: error: expected identifier before ‘(’ token This normally indicates a problem several lines further up the file, typically a missed "}" symbol. I think that your "if" in line 101 is the culprit, but I am actually really

Re: [Emc-users] Question about kinematics

2012-06-25 Thread Viesturs Lācis
2012/6/25 andy pugh : > > Try it and see what happens? I need some help finding out, why am I receiving this error: vie@ubuntu:~/linuxcnc-dev/src/emc/kinematics$ sudo comp --install nhckins.c [sudo] password for vie: make KBUILD_EXTRA_SYMBOLS=/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/Module.

Re: [Emc-users] Question about kinematics

2012-06-25 Thread Viesturs Lācis
2012/6/25 andy pugh : > > you are basically only using A as an input pin into the kinematics > module. Yes, exactly. > Try it and see what happens? Unfortunately I do not have a machine to test it. So that is why I decided to ask - with a hope that someone might have already tried this. -- Vie

Re: [Emc-users] Question about kinematics

2012-06-25 Thread andy pugh
On 25 June 2012 10:16, Viesturs Lācis wrote: > So my big question is: what is going to happen, if I keep > KINEMATICS_BOTH, but completely exclude pos->a from forward kinematics > and use it only in inverse kinematics to get initial data? Am I going > into trouble of receiving following errors as

[Emc-users] Question about kinematics

2012-06-25 Thread Viesturs Lācis
Hello! I am working on a custom kinematics module for plasma machine and I have a question: I have it set to do both - inverse and forward kinematics calculations with this: KINEMATICS_TYPE kinematicsType() { return KINEMATICS_BOTH; } The thing is that I am using pos->a (because I want that a