Bipod setup

More
28 Sep 2010 09:58 #4383 by BigJohnT
Schnitti wrote:

Hi Gerd, Andy,

Part 2:

Does anyone care about the correction of COMP and its Makefile template? Should be done, so that inexperienced users can build modules on their own.

Wolfgang


There seems to be nothing wrong with COMP in a proper install of EMC2.

John

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

More
28 Sep 2010 11:35 #4386 by step4linux
BigJohnT wrote:

There seems to be nothing wrong with COMP in a proper install of EMC2.

John


Not sure about that. As far as I remember there was a problem with a missing header file in my 1st 2.4 installation.
Unfortunately I am under water with my professsion ATM, so I could not care about it.
Could be with an official version, it is fixed.
I will check as soon as I have time.

Gerd

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

More
28 Sep 2010 13:07 #4388 by Schnitti
Hi Gerd,

thanks. Would be interesting, whether comp works for you on your machine. PM follows.

I have filed a bug report about that with my sf user. Hopefully correct assigned.

I am going to buy some styro to make a real test with this work.

Regards

Wolfgang

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

More
28 Sep 2010 16:37 #4392 by step4linux
I made a quick test with my fresh 10.04/2.4.4 system.

I still have this error:
/tmp/tmpV8rQEs/dualbipod.c:175: error: ‘HAL_SUCCESS’ undeclared (first use in this function)
This symbol was in 8.04 in a header file, now its missing or moved.

There is another thing, I found by chance:

If the path name where your files are located contains blanks, there are additional "no such file" errors.

Wolfgang, make sure your work path does not contain any blank or other special characters.

Gerd

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

More
28 Sep 2010 16:57 #4394 by andypugh
step4linux wrote:

I

/tmp/tmpV8rQEs/dualbipod.c:175: error: ‘HAL_SUCCESS’ undeclared (first use in this function)
This symbol was in 8.04 in a header file, now its missing or moved.


It is no longer used and was removed in this patch:
git.linuxcnc.org/gitweb?p=emc2.git;a=com...327a5d5047eb306335a7
As dualbipod is not a distributed part of EMC2 it was not patched, presumably.
Using zero or checking for a negative returned value should work.

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

More
28 Sep 2010 19:40 #4398 by step4linux
I use line like this one:
if((res = hal_param_float_new("dualbipod2.D01", HAL_RW, &halXY->dist, comp_id)) != HAL_SUCCESS) goto error;

They are for sure derived from another kinetics module.
So it should look this I guess:
if((res = hal_param_float_new("dualbipod2.D01", HAL_RW, &halXY->dist, comp_id)) != 0) goto error;

Gerd

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

Time to create page: 0.163 seconds
Powered by Kunena Forum