Bipod setup

More
27 Sep 2010 10:57 #4358 by Schnitti
Dear Admins,

a longer version of this text was thrown away with "incorrect code", so I repeat it in short:

Yes it was an Update from 8.04 to 10.04. Simple replace karmic to lucid.

--> no clean environment.

Better: Updatemanager from Ubuntu disables Thirdparty repos in a correct way, after update add emc2 back again.

Next: COMP is wrong in this line

ifeq ($(BUILDSYS),kbuild)
modules:
$(MAKE) -C $(KERNELDIR) SUBDIRS=$(shell pwd) CC=$(CC) V=0 -o $(KERNELDIR)/Module.symvers modules

Error 1: originally there is a $(KDIR)/Module.symvers must be KERNELDIR

Error 2: SUBDIRS needs $(shell pwd) not $('pwd') but this results in nonsense. Which subdir is to use?

After doing this, we still have errors.

sudo comp --install dualbipod.c
make -C /usr/src/linux-headers-2.6.32-122-rtai SUBDIRS=/tmp/tmp625dVT CC=gcc V=0 -o /usr/src/linux-headers-2.6.32-122-rtai/Module.symvers modules
make[1]: Betrete Verzeichnis '/usr/src/linux-headers-2.6.32-122-rtai'
CC [M] /tmp/tmp625dVT/dualbipod.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: "hal_init" [/tmp/tmp625dVT/dualbipod.ko] undefined!
WARNING: "hal_exit" [/tmp/tmp625dVT/dualbipod.ko] undefined!
WARNING: "hal_malloc" [/tmp/tmp625dVT/dualbipod.ko] undefined!
WARNING: "hal_param_float_new" [/tmp/tmp625dVT/dualbipod.ko] undefined!
WARNING: "hal_ready" [/tmp/tmp625dVT/dualbipod.ko] undefined!
CC /tmp/tmp625dVT/dualbipod.mod.o
LD [M] /tmp/tmp625dVT/dualbipod.ko
make[1]: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.32-122-rtai'
cp dualbipod.ko /usr/realtime-2.6.32-122-rtai/modules/emc2/

Should be no big deal now.

Kind regards

Wolfgang

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

More
27 Sep 2010 11:18 #4359 by BigJohnT
Replied by BigJohnT on topic Updating
This is from the Download page:

Note: Do Not upgrade Ubuntu from 6.06 to 8.04 or upgrade from 8.04 to 8.10. The precompiled versions of EMC2 are only compatible with the Ubuntu version they were compiled with. Upgrading will remove the EMC packages and make your system unable to run EMC.


John

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

More
27 Sep 2010 12:10 #4361 by Schnitti
Replied by Schnitti on topic Re:Updating
Hi,

sorry, I upgraded from 8.04 LTS to 10.04 LTS


Regards

Wolfgang

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

More
27 Sep 2010 12:12 #4362 by Schnitti
Hi,

after doing it:

If I go to HOME and then enter world modus x is y and y in x direction. How do I change that?

Regards

Wolfgang

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

More
27 Sep 2010 13:36 #4363 by andypugh
Replied by andypugh on topic Re:Updating
Schnitti wrote:

sorry, I upgraded from 8.04 LTS to 10.04 LTS

Just to be clear, was this using the EMC2 LiveCD or the built-in Ubuntu updater?

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

More
27 Sep 2010 13:42 #4364 by andypugh
Schnitti wrote:

If I go to HOME and then enter world modus x is y and y in x direction. How do I change that?

In a trivial kinematics machine (cartesian joints and cartesian axes) you would just change the mapping between motors/joints and axis positions commands in HAL.

With the bipod, however, you will probably need to alter the kinematics source-code. (exchange pos->tran.x with pos->tran.y throughout)
It seems odd that you would have this problem, however, if other people have not.

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

Time to create page: 0.207 seconds
Powered by Kunena Forum