Hi,
I made a Swing-GUI to control a Java3D Robot. You can adjust the joint
angles by moving sliders in the GUI. Now I want to send a new angle to my
robot
and interpolate between the old and the new angle, but I don't know how to
use
the RotationInterpolator for this task.
Here is my method for the angle change:
public void setTheta(double theta)
{
this.variableAngle = (float)theta;
tmp3d.set(new AxisAngle4f(0.0f, 0.0f, 1.0f, this.variableAngle +
(float)this.theta));
this.jointGroupT3d.set(tmp3d);
// jointGroupTG is the TransformGroup of a robot arm
this.jointGroupTG.setTransform(this.jointGroupT3d);
}
So, how can I do this with the interpolator?
-Tobi Engelhardt
--
Please always reply to:
[EMAIL PROTECTED]
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
--
GMX Tipp:
Machen Sie Ihr Hobby zu Geld bei unserem Partner 1&1!
http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".