Tool Changer

More
04 Apr 2011 11:58 #8469 by andypugh
Replied by andypugh on topic Re:Tool Changer
Does "comp" work otherwise?

I have forwarded the question to the mailing list. A lot more of the developers hang out there, the forum only gets any attention from a fairly small subset of them.

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

More
04 Apr 2011 12:13 - 04 Apr 2011 12:18 #8470 by BigJohnT
Replied by BigJohnT on topic Re:Tool Changer
The command line would need a sudo to work on the installed version!
sudo comp --install toolchanger.comp

works for me.

and adding a
loadrt toolchanger
addf toolchanger servo-thread
in my hal file

it shows up in the Show Hal Configuration window.

John
Last edit: 04 Apr 2011 12:18 by BigJohnT.

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

More
05 Apr 2011 12:37 #8558 by andypugh
Replied by andypugh on topic Re:Tool Changer
Any progress with this, I am curious to know if the code works at all (I will probably add it to the User Contributed Components part of the Wiki if it does)

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

More
06 Apr 2011 11:12 #8637 by Robin
Replied by Robin on topic Re:Tool Changer
Still no progress

the full error:

Traceback (most recent call last):
File "/usr/bin/comp", line 1297, in <module>
main()
File "/usr/bin/comp", line 1266, in main
process(f, mode, outfile)
File "/usr/bin/comp", line 1140, in process
a, b = parse(filename)
File "/usr/bin/comp", line 387, in parse
a,b = F.split("\n;;\n", 1)
valueError: need more then 1 value to unpack

don't get what i'm doing wrong :s

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

More
06 Apr 2011 12:38 #8642 by andypugh
Replied by andypugh on topic Re:Tool Changer
Does
man comp
give you something which looks emc-related? I am rather wondering if that is the comp that we need...

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

More
06 Apr 2011 14:25 #8647 by BigJohnT
Replied by BigJohnT on topic Re:Tool Changer
Are you using sudo to install the comp?

John

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

More
06 Apr 2011 16:19 #8649 by andypugh
Replied by andypugh on topic Re:Tool Changer
andypugh wrote:

I am rather wondering if that is the comp that we need...


Forget that, that looks like the right file. (though the reported line numbers don't actually match)

did you do the
sudo apt-get install emc2-dev
and
sudo apt-get isntall build-essential

dance?

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

More
06 Apr 2011 16:40 #8650 by BigJohnT
Replied by BigJohnT on topic Re:Tool Changer
Would you need that on a machine with EMC installed?

John

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

More
06 Apr 2011 17:02 #8652 by andypugh
Replied by andypugh on topic Re:Tool Changer
BigJohnT wrote:

Would you need that on a machine with EMC installed?


You need Python and gcc as a bare minimum. My impression was that comp was part of the emc2-dev package, though I might try a scratch-install to check.

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

More
06 Apr 2011 17:09 #8653 by Robin
Replied by Robin on topic Re:Tool Changer
BigJohnT wrote:

Are you using sudo to install the comp?

John


yes tried both with and without

andypugh wrote:

andypugh wrote:

I am rather wondering if that is the comp that we need...


Forget that, that looks like the right file. (though the reported line numbers don't actually match)

did you do the
sudo apt-get install emc2-dev
and
sudo apt-get isntall build-essential

dance?


the sudo apt-get install build-essential i didn't :s i'm no more at school atm i'll test it tomorrow.

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

Time to create page: 0.086 seconds
Powered by Kunena Forum