Omni 3 wheel model help

Typically: "How do I... ", "How can I... " questions
Post Reply
kaveenliyanage
Posts: 2
Joined: 12 May 2013, 10:18

Omni 3 wheel model help

Post by kaveenliyanage » 15 May 2013, 20:30

I have modeled an omni 3 wheel robot with trans wheels. but my model gives a script error. I have coded trans wheels by looking in to mechanum wheel designs.

What I need is to follow a path using my model. So I hope you can help me with clarifying the problem.

https://www.dropbox.com/s/gti6x0yjjs2em ... tt?v=0mcng

this link contains my model.

Regards

coppelia
Site Admin
Posts: 7024
Joined: 14 Dec 2012, 00:25

Re: Omni 3 wheel model help

Post by coppelia » 15 May 2013, 21:49

Hello,

Had a quick look at it. The omni-wheels seem to be correctly modelled.
The child script attached to omniRob produces an error because you spelled omniPads wrong (omnipads instead of omniPads, notice the capital P)

Cheers

kaveenliyanage
Posts: 2
Joined: 12 May 2013, 10:18

Re: Omni 3 wheel model help

Post by kaveenliyanage » 18 May 2013, 21:34

Thanks,
I should be more careful next time. It will be very helpful if the v-rep can point out these kind of mistakes. I have some more problems also, I will post them soon.

Regards

coppelia
Site Admin
Posts: 7024
Joined: 14 Dec 2012, 00:25

Re: Omni 3 wheel model help

Post by coppelia » 18 May 2013, 23:26

V-REP points out those mistakes. In the case of your scene, V-REP prints:

Lua runtime error: [string "SCRIPT omnirob"]:32: attempt to index global 'omnipads' (a nil value)

That's where the error happens: line 32 of child script omnirob: omnipads is a nil value (i.e. not defined).

Cheers

Post Reply