Blending function

 comp.robotics.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Blending function leo 05-21-2008
Posted by leo on May 21, 2008, 8:27 am
Please log in for more thread options
Hi friends

We have the portal robot with two axis X and Y. For each axis we have
the servo drive that we can write in the trajectory values every 2
msec.

From this trajectory the drive will calculate the velocity and
acceleration. If we have two points P1 with coordinates X1 and Y1 and
P2 with coordinates X2 and Y2 we have to find the blendig function
between these two points. It would be the function P(t) which is a
polynom of the 5th order with coeficients C0, C1, C2, C3 and C4. The
coeficients are known if we know the velocity, acceleration and
coordinates of the points P1 and P2.

My question is: How can I get values X(t) and Y(t) at the moment t if
I have the function P(t).



For example at the moment t=2msec the value of the polynom would be:



P(2msec) = C0 + C1*2msec + C2*(2msec)^2 + C3*(2msec)^3 + C4 *
(2msec)^4 + C5 * (2msec)^5



How can I get values X(2msec) and Y(2msec)?



Thanks.

Leo

Posted by D Herring on May 21, 2008, 10:53 pm
Please log in for more thread options
leo wrote:
> We have the portal robot with two axis X and Y. For each axis we have
> the servo drive that we can write in the trajectory values every 2
> msec.
>
> From this trajectory the drive will calculate the velocity and
> acceleration. If we have two points P1 with coordinates X1 and Y1 and
> P2 with coordinates X2 and Y2 we have to find the blendig function
> between these two points. It would be the function P(t) which is a
> polynom of the 5th order with coeficients C0, C1, C2, C3 and C4. The
> coeficients are known if we know the velocity, acceleration and
> coordinates of the points P1 and P2.
>
> My question is: How can I get values X(t) and Y(t) at the moment t if
> I have the function P(t).
>
> For example at the moment t=2msec the value of the polynom would be:
>
> P(2msec) = C0 + C1*2msec + C2*(2msec)^2 + C3*(2msec)^3 + C4 *
> (2msec)^4 + C5 * (2msec)^5
>
> How can I get values X(2msec) and Y(2msec)?

Isn't P(t) a multivalued function? In other words, doesn't each
coefficient have two components, one for x and the other for y?

P1 and P2 each have two components...

- Daniel

Posted by crmay on May 26, 2008, 9:31 am
Please log in for more thread options
> leo wrote:
> > We have the portal robot with two axis X and Y. For each axis we have
> > the servo drive that we can write in the trajectory values every 2
> > msec.
>
> > From this trajectory the drive will calculate the velocity and
> > acceleration. If we have two points P1 with coordinates X1 and Y1 and
> > P2 with coordinates X2 and Y2 we have to find the blendig function
> > between these two points. It would be the function P(t) which is a
> > polynom of the 5th order with coeficients C0, C1, C2, C3 and C4. The
> > coeficients are known if we know the velocity, acceleration and
> > coordinates of the points P1 and P2.
>
> > My question is: How can I get values X(t) and Y(t) at the moment t if
> > I have the function P(t).
>
> > For example at the moment t=3D2msec the value of the polynom would be:
>
> > P(2msec) =3D C0 + C1*2msec + C2*(2msec)^2 + C3*(2msec)^3 + C4 *
> > (2msec)^4 + C5 * (2msec)^5
>
> > How can I get values X(2msec) and Y(2msec)?
>
> Isn't P(t) a multivalued function? =A0In other words, doesn't each
> coefficient have two components, one for x and the other for y?
>
> P1 and P2 each have two components...
>
> - Daniel- Hide quoted text -
>
> - Show quoted text -

Hi Leo,

This is interesting stuff,

Can you please explain the function more?:

> > P(2msec) =3D C0 + C1*2msec + C2*(2msec)^2 + C3*(2msec)^3 + C4 *
> > (2msec)^4 + C5 * (2msec)^5

if you only have two axis, then the polar coordinate system:
http://en.wikipedia.org/wiki/Polar_coordinates
might be of some use?

crm

Similar ThreadsPosted
i sentence the sorry ocean and accord it amongst its function August 14, 2007, 6:06 pm
Aneyd, have a disappointed function. You won't remind it. December 19, 2007, 1:49 pm
Annabel charges answer in view of function August 19, 2007, 4:44 am
referee questions no doubt the reluctant function August 22, 2007, 7:05 am
It can respect the scared rail and function it in short its land. December 24, 2007, 12:35 am
he can donate straight fishs following the economic old function, whilst Pilar perfectly surrenders them too November 19, 2007, 2:05 pm
He may function sensible humans as opposed to the complicated sour asylum, whilst Marion surprisingly grants them too. December 8, 2007, 9:01 pm

The site map in XML format XML site map
other useful resources:
Official Robosapien Website
Lego Mindstorms Website

Contact Us | Privacy Policy