Search found 9 matches

by squiq
09 Apr 2015, 18:25
Forum: General questions
Topic: setting object orientation using quaternions
Replies: 2
Views: 1506

Re: setting object orientation using quaternions

Hi,

In the first place I had the euler parameter order correctly, but then I didn't trust my own code and downloaded a matlab script which indeed did the values in the [w,x,y,z] order... Its a bad habit to create more problems when you're trying to solve one :p

Thank you!

greets,
squiq
by squiq
09 Apr 2015, 13:46
Forum: General questions
Topic: setting object orientation using quaternions
Replies: 2
Views: 1506

setting object orientation using quaternions

Hi guys, I have some problems setting object orientation using quaternions. In matlab I calculate random positions and orientations for a cylinder. Then I calculate the needed quaternion for a rotation from a vector v0 (which is [0 0 1]) to the found rotation of the cylinder. In v-rep I first set th...
by squiq
07 Jan 2015, 16:01
Forum: General questions
Topic: proximity sensor won't detect dummy collection
Replies: 4
Views: 1752

Re: proximity sensor won't detect dummy collection

Hi,

I did not realize that the randomized ray has such a low scanning frequency.
Everything works fine now with the cylinder type.

I thought I already tried different types but I guess I also changed something else in the meantime.
Anyway, thanks!

Cheers,

squiq
by squiq
06 Jan 2015, 11:35
Forum: General questions
Topic: proximity sensor won't detect dummy collection
Replies: 4
Views: 1752

Re: proximity sensor won't detect dummy collection

Hi Coppela,

Thank you for your answer. The dummy is fully in the sensors detection volume.
I send you a PM with a link to the scene.

cheers,

squiq
by squiq
05 Jan 2015, 10:16
Forum: General questions
Topic: proximity sensor won't detect dummy collection
Replies: 4
Views: 1752

proximity sensor won't detect dummy collection

Hi, Im trying to detect a collection of dummies with a proximity sensor. When I switch the entity to detect to the dummy collection, it doesn't see anything... I switched on the detectable property for each dummy, the dummies are clearly visible so the object size is also large enough (proximity sen...
by squiq
24 Dec 2014, 13:34
Forum: General questions
Topic: Using a variable to set jointTargetVelocity
Replies: 2
Views: 1650

Re: Using a variable to set jointTargetVelocity

I found the problem, it's kind of embarassing. I send an the data as int's from arduino over the USB but then I read it out in vrep with string.match... Was quite a while a go that I wrote that and had forgotten about it. When I inserted the data directly into the joint controller, it worked. I assu...
by squiq
23 Dec 2014, 12:17
Forum: General questions
Topic: Using a variable to set jointTargetVelocity
Replies: 2
Views: 1650

Using a variable to set jointTargetVelocity

Hello guys, Im passing an integer through the serial port and want it to control the speed with the following code: velRight = nil tranRight = val[8] if (tranRight == 1) then velRight = -0.05 elseif (tranRight == 2) then velRight = 0.05 else velRight = 0 end simSetJointTargetVelocity(prismaticArmRig...
by squiq
19 Dec 2014, 09:17
Forum: General questions
Topic: How to make a flexible cable?
Replies: 4
Views: 2533

Re: How to make a flexible cable?

Hello coppela,

Thanks a lot for your answer! Indeed I want my cable to interact with the environment like a rope.
I will use the spherical joints. Very helpfull!

cheers,

squiq
by squiq
18 Dec 2014, 16:24
Forum: General questions
Topic: How to make a flexible cable?
Replies: 4
Views: 2533

How to make a flexible cable?

Hello everyone, I recently started working with V-REP and I have to say it is really an amazing program! Im trying to make a simulation of picking up the end of a cable that is attached to the ground. I want it first to be loose, and then pick it up with a gripper and pull it tight. In one of the de...