Bipod setup

More
13 Sep 2010 07:50 #4160 by benehuber
Replied by benehuber on topic Re:Bipod setup
the errors are the same! I think that change "HAL_SUCCESS" to 1 wasnt the right thing.

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

More
13 Sep 2010 10:14 - 13 Sep 2010 10:15 #4166 by dab77
Replied by dab77 on topic Re:Bipod setup
here there's my bipodkins.c, you have to compile, changing the name for your needs.

this is a simple bipod cinematics (two motors, one cable per motor, united in one point.) and it works, in both ubu8.04 and 10.04.

try if it work, and at least you can modify this.

File Attachment:

File Name: dab_bipodkins.zip
File Size:1 KB
Attachments:
Last edit: 13 Sep 2010 10:15 by dab77.

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

More
22 Sep 2010 13:11 #4281 by benehuber
Replied by benehuber on topic Re:Bipod setup
dab77 wrote:

here there's my bipodkins.c, you have to compile, changing the name for your needs.

this is a simple bipod cinematics (two motors, one cable per motor, united in one point.) and it works, in both ubu8.04 and 10.04.

try if it work, and at least you can modify this.

File Attachment:

File Name: dab_bipodkins.zip
File Size:1 KB


Hi dab77,

Thanks for your File but I need 4 Motors for my purpose.
During the next two weeks I haven't time. Maybe in the meantime gerd will find a solution for our problem. When there is more time i will try again.
Thx to all

regards
Bene

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

More
26 Sep 2010 15:37 #4351 by Schnitti
Replied by Schnitti on topic Re:Bipod setup
Hi there,

I am new and I want to use Gerds dualbipod too (for styro cutting machine). After upgrade to 10.04 we have to recompile the dualbipod.c file. Usually we have to use the comp command.

In pure ubuntu system I have installed the header and source files from the archives/repositories.

Then, when give comp a chance we get errors. Comp tries to get the headers out of the old headers from 8.04 which is the wrong place. I had alook at comp, it is a python script. But I am not experienced in reading python.

2.6.24 is out; it must be 2.6.32-122-rtai


Here the errors from comp:

comp --compile dualbipod.c
make -C /usr/src/linux-headers-2.6.24-16-rtai SUBDIRS=`pwd` CC=gcc V=0 -o /Module.symvers modules
make: *** /usr/src/linux-headers-2.6.24-16-rtai: No such file or directory. Schluss.
make: *** [modules] Fehler 2

Can anyone tell me, what we have to do to get the right environment working?

Best Regards

Wolfgang

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

More
26 Sep 2010 16:12 #4352 by Schnitti
Hi There!

Searching around ...... AND:

The Template for running COMP holds still the old places for the RT Modules!

It is stored under /etc/emc2/Makefile.Modinc

You have to chnage from 2.6.24-12-rtai to 2.6.32-122-rtai by hand.

Please find atached corrected file.

Regards

Wolfgang

File Attachment:

File Name: Makefile.gz
File Size:1 KB
Attachments:

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

More
26 Sep 2010 17:53 - 26 Sep 2010 17:57 #4353 by BigJohnT
I asked on the developer IRC channel about your issue:

[12:50] <micges> jthornton: does he install 10.04 from livecd or install rt kernel on desktop 10.04?
[12:50] <jthornton> micges: I dont' know but I'll ask
[12:50] <jepler> jthornton: maybe some previous version of emc2 put Makefile.modinc in /etc/emc2, but the current package puts it in /usr/share/emc/Makefile.modinc
[12:51] <jthornton> jepler: thanks
[12:51] <jepler> if you have /etc/emc2/Makefile.modinc (for instance from an old installation that used that path) then 'comp --print-modinc' will use that in preference to the one in /usr/share .. but if so, your best corrective action is simply to remove that one and use the one in /usr/share
[12:53] <jepler> it looks like the modinc file was moved between emc2.3 and emc2.4, so an 8.04 system upgraded from 2.3 to 2.4 might display this symptom
[12:54] <jepler> but the problem report seemed to indicate it was a 10.04 system (because of the -122 in the kernel version)...

There you go...

John
Last edit: 26 Sep 2010 17:57 by BigJohnT.
The following user(s) said Thank You: robotic89

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

Time to create page: 0.115 seconds
Powered by Kunena Forum