11-11-2010 10:31 AM - edited 11-11-2010 10:34 AM
i want to make a program that allow me to drive 2 motors to make a certain curve
let say i have 200 mm in this lenght i have to make a curve of radius of 20 meters
so i have 1 motor (with encoder) on x axis (that drives a lineair stages}
and 1 motor(with encoder) on y axes(that drives a linear stages)
if i go on x say 1 mm ,then my problem is to program the Y movement ( i do not want to calc the coordinate each step) but a fixed coeff with a certain curve so i can choose differant curve and have a fixed coeff at least thats my tought are.
But i do not have that formula , meaby some one can help me out how to achieve this
Cees
11-12-2010 03:35 PM
A trajectory for each axis needs to be defined. If there is a relation between X and Y, you can set one trajectory and define the other as a function of it. For example, if you are defining a curve of Radius R, with center Xo and Yo, then Y=sqrt(R^2-(X-X0)^2 - Y0