Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Get rX rY position of an object

Solved!
Go to solution

Hello,

Currently I am doing a internship project. But I keep getting stuck.

What I am doing:
Picture1.jpg

This is a Stewart-platform. The platform can be moved in 6DOF. The actuators are muscle cylinder without bearings.
I am trying to get the xyz + rotation angles(rX rY rZ) of the platform. I do this by using 1 camera (Ueye) which looks at the bottom of the platform, on the bottom there is a pattern image:
Picture2.JPG

 

What I do is: I throw a threshold over the camera image, and use the particle analysis for the 5 point, to get there centre of mass and area.
The idea of getting the rX and rY of the platform was looking at the pattern, and measure the deformation which takes place.

what it looks like in 0position:

0pos.png

 

What it looks like in pure rY movement:

rYpos.png

 

What it looks like in pure rX movement:

rXpos.png

 

 

 

 

 

 

 

What is my problem:
I try to measure the deformation of the rX and rY which will look like this (extravagant drawing):
vervorming.JPG

 

 

Every measure I made (length and area) in a pure rX position (see picture 5) will also change the measure of rY position.
So in my measures it looks like rX and rY are changing, but this is not the case. Only rX should change.

 

 

Now has somebody any idea of making my measurements more accurate, so I can say that this is an rX movement and this is an rY movement??



I hope you understand my post. It is really difficult to explain things in a foreign language.

Sincerely,
Rick

0 Kudos
Message 1 of 4
(5,878 Views)

Hello,

 

does the platform really move in "pure" rX (or rY) motion? What is the size order of the motion (quantiatively speaking (cm, mm...?)

 

Have you tried to correct for the perspective projection/distortion and also lens distortion?

 

Also, I do not see how you will be able to extract the rotation angles? For example in the rZ direction, you will probably use the thresholded area size (or not?), so your rZ motion will be somehow proportional to the object(s) scale? What about rotation? Can you have multiple combined transformations at once (for example 2 rotations + 2 translations)?

 

Best regards,

K


https://decibel.ni.com/content/blogs/kl3m3n



"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
0 Kudos
Message 2 of 4
(5,873 Views)

Thankyou for your intrests Klemen!

No it maybe not move in "pure" rX motion. But the measurements I made looked like rY also moved almost linear according to rX in a rX movement. This is surely not the case.
rZ will be extracted by using all the 5 points centre of mass positions. But rZ is not a really important case right now. I really want the rX and rY. The rZ is really small, so it will not interfere much in  rX and rY directions.

I already tried a lens correction for distortion, this didn't madee any difference. The lens distortion just made the measurements more precise(more deformation).


best regards,
Rick

EDIT: The movement is alot (more then 10mm). I have not measured this.

0 Kudos
Message 3 of 4
(5,868 Views)
Solution
Accepted by topic author Rickvb

I got my answer!

What I do now is:
0pos.png

 

I calculate these 4 surfaces with all the 5 centre of mass points.
This way i get the biggest deformation delta values. It is already better then my gyroscope on my phone!
Tommorow I do it with a more precise measuring device, but this looks promissing.

Thank you for your intrests, unfortunate we couldn't come to any solution.

 

Rick.

0 Kudos
Message 4 of 4
(5,763 Views)