Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Robotic example in Ideals, Varieties and Algorithms (Cox)
PostPosted: Sat Jan 28, 2012 11:59 pm 
Hello,
for some time I've been trying the "reverse-kinematic-example" in the book (section 6, ยง3).
Unfortunately I don't get the solution the author has calculated in the book.
Could someone give me some hint for the corresponding singular code?
Below the code I tried so far:

Code:
ring R=(0,a,b,l(2),l(3)),(c(2),s(2),c(1),s(1)),lp;
poly f_1=l(3)*c(1)*c(2)-l(3)*s(1)*s(2)+l(2)*c(1)-a;
poly f_2=l(3)*c(1)*c(2)+l(3)*c(2)*s(1)+l(2)*s(1)-b;
poly f_3=c(1)^2+s(1)^2-1;
poly f_4=c(2)^2+s(2)^2-1;
ideal I = f_1, f_2, f_3, f_4;
option(redSB);
ideal G=std(I);
G;


Many thanks,
MK


Report this post
Top
  
Reply with quote  
 Post subject: Re: Robotic example in Ideals, Varieties and Algorithms (Cox)
PostPosted: Sun Jan 29, 2012 10:07 pm 

Joined: Thu Apr 02, 2009 5:04 pm
Posts: 11
Please note that there is a simple typo in f_2:
f_2=(l(3))*s(2)*c(1)+(l(3))*c(2)*s(1)+(l(2))*s(1)+(-b);


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

It is currently Fri May 13, 2022 11:07 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group