Go to Post Hey Don, if the [Woody Flowers] award doesn't impress the non-FIRST friends and family, just tell them you have your own "inter-web thread" - tell them you are like a Chuck Norris on the internet!!! - ebarker [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-02-2005, 13:38
Leav's Avatar
Leav Leav is offline
Spud Gun Division
AKA: Leav Oz-Ari
FRC #3316 (D-Bug)
Team Role: Mentor
 
Join Date: Dec 2004
Rookie Year: 2005
Location: Technion, Haifa, Israel
Posts: 774
Leav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond repute
Send a message via ICQ to Leav Send a message via AIM to Leav Send a message via MSN to Leav
controlling just x or y axis of a double articulated arm

our arm will probably have two points at which it turns (see picture), and for simplicity we are looking to be able to control just the grabber part of our arm, on x and y axes.

i'm sure there is a way to do this, because CNC machines have to do a similar thing.....

I'm unable, for the life of me, to develop a mathmatical formula to mix the joystick axes in a way that would allow us to control just one grabber axis at a time....

Has anyone ever done anything similar? would anyone be willing to lend me a hand here?

Thanks guys!

-Leav
Attached Thumbnails
Click image for larger version

Name:	arm.JPG
Views:	73
Size:	15.3 KB
ID:	2918  
__________________
"We choose to build robots this season and do the other things; Not because they are easy, but because they are hard."
-Paraphrasing JFK

Participated in FIRST as a student: 2005-2006 (But still learning every season!)
Mentor: 2008 - ? (Team 2630 2008-2011, and Team 3316 since 2013)
Engineer: 2011 - ? (B.Sc. and M.Sc. in Mech. Eng. from the Technion IIT)
FIRST Volunteer - 2007 - ? (MC, FTA, FIRST Aid etc.)
  #2   Spotlight this post!  
Unread 06-02-2005, 13:42
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: controlling just x or y axis of a double articulated arm

Quote:
Originally Posted by Leav
our arm will probably have two points at which it turns (see picture), and for simplicity we are looking to be able to control just the grabber part of our arm, on x and y axes.

i'm sure there is a way to do this, because CNC machines have to do a similar thing.....

I'm unable, for the life of me, to develop a mathmatical formula to mix the joystick axes in a way that would allow us to control just one grabber axis at a time....

Has anyone ever done anything similar? would anyone be willing to lend me a hand here?

Thanks guys!

-Leav
How do you mean? I have changed our code to assign each joystick to different components of the drivetrain, but I don't understand your queston is entirely. Can you make a simple sketch of the arm so that I might understand it better?
__________________
Aren't signatures a bit outdated?
  #3   Spotlight this post!  
Unread 06-02-2005, 13:44
russell's Avatar
russell russell is offline
Registered User
#1430 (WRONG)
Team Role: Electrical
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Anchorage AK
Posts: 402
russell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to all
Re: controlling just x or y axis of a double articulated arm

Would it be easier to use the y axis of the joystick, and the joystick wheel to control the location of the tip of the arm? Like make the height of the arm equal to the value from the wheel, then make the horizontal distance to the tip of the arm be equal to the y axis of the joystick. Once you knew that you would know the lengths of all three sides of a triangle, which would allow you to use trig to find the angles at the corners, and set your arm to those angles. Something like that. You could also use the X axis to do the same thing as the wheel, but that would be weird to operate.
  #4   Spotlight this post!  
Unread 06-02-2005, 13:54
Leav's Avatar
Leav Leav is offline
Spud Gun Division
AKA: Leav Oz-Ari
FRC #3316 (D-Bug)
Team Role: Mentor
 
Join Date: Dec 2004
Rookie Year: 2005
Location: Technion, Haifa, Israel
Posts: 774
Leav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond repute
Send a message via ICQ to Leav Send a message via AIM to Leav Send a message via MSN to Leav
Re: controlling just x or y axis of a double articulated arm

Quote:
Originally Posted by JBotAlan
How do you mean? I have changed our code to assign each joystick to different components of the drivetrain, but I don't understand your queston is entirely. Can you make a simple sketch of the arm so that I might understand it better?
i made a sketch, please note the attachment in my first post:
the blue and red lines are the arm parts.
at each end of the blue line is a motor which changes the angle of the blue and red parts.
the blue line starts at the robot.
the grabber part is situated at (x,y)

@ represents the angle of the blue arm in respect to the floor
$ represents the angle of the red arm in respect to the blue arm
@-$ epresents the angle of the red arm in respect to the floor

now that i think about it... i wasn't really clear at first....

see new attachment

Thanks,
-Leav
Attached Thumbnails
Click image for larger version

Name:	arm2.JPG
Views:	48
Size:	18.1 KB
ID:	2919  
__________________
"We choose to build robots this season and do the other things; Not because they are easy, but because they are hard."
-Paraphrasing JFK

Participated in FIRST as a student: 2005-2006 (But still learning every season!)
Mentor: 2008 - ? (Team 2630 2008-2011, and Team 3316 since 2013)
Engineer: 2011 - ? (B.Sc. and M.Sc. in Mech. Eng. from the Technion IIT)
FIRST Volunteer - 2007 - ? (MC, FTA, FIRST Aid etc.)
  #5   Spotlight this post!  
Unread 06-02-2005, 13:55
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: controlling just x or y axis of a double articulated arm

Quote:
Originally Posted by JBotAlan
How do you mean? I have changed our code to assign each joystick to different components of the drivetrain, but I don't understand your queston is entirely. Can you make a simple sketch of the arm so that I might understand it better?
There is a sketch at the bottom of his post.

Leav, are you going to have feedback so you know @ and $? I think I know how to do this, but it's going to be a lot harder without actually knowing those angles.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
  #6   Spotlight this post!  
Unread 06-02-2005, 14:00
Max Lobovsky's Avatar
Max Lobovsky Max Lobovsky is offline
Fold em oval!
FRC #1257 (Parallel Universe)
Team Role: College Student
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Scotch Plains, NJ
Posts: 1,026
Max Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant future
Send a message via AIM to Max Lobovsky
Re: controlling just x or y axis of a double articulated arm

I susepct you can do it using some linear algebra. If you know any linear algebra, this would be the process. Create a transform matrx that transforms angles of the two joints to x-y coordinates. It looks you already have this part of it done in that diagram you posted. Then, you need to solve for the inverse of this matrix and that will give you the transform matrix to do the same operation in reverse.

If you don't know linear algebra, learn it, or find someone who does. I may try this problem just because it sounds like fun. This exact problem can probably be found online somewhere, so you may not have to do anything at all.
__________________
Learn, edit, inspire: The FIRSTwiki.
Team 1257


2005 NYC Regional - 2nd seed, Xerox Creativity Award, Autodesk Visualization Award
2005 Chesapeake Regional - Engineering Inspiration Award
2004 Chesapeake Regional - Rookie Inspiration award
2004 NJ Regional - Team Spirit Award

Last edited by Max Lobovsky : 06-02-2005 at 14:03.
  #7   Spotlight this post!  
Unread 06-02-2005, 14:03
Leav's Avatar
Leav Leav is offline
Spud Gun Division
AKA: Leav Oz-Ari
FRC #3316 (D-Bug)
Team Role: Mentor
 
Join Date: Dec 2004
Rookie Year: 2005
Location: Technion, Haifa, Israel
Posts: 774
Leav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond repute
Send a message via ICQ to Leav Send a message via AIM to Leav Send a message via MSN to Leav
Re: controlling just x or y axis of a double articulated arm

Quote:
Originally Posted by jgannon
There is a sketch at the bottom of his post.

Leav, are you going to have feedback so you know @ and $? I think I know how to do this, but it's going to be a lot harder without actually knowing those angles.
YEAH! forgt to mention that! were planning on putting a couple of linear potenciometers on the axes so i can tell the angle there.

thnks!
__________________
"We choose to build robots this season and do the other things; Not because they are easy, but because they are hard."
-Paraphrasing JFK

Participated in FIRST as a student: 2005-2006 (But still learning every season!)
Mentor: 2008 - ? (Team 2630 2008-2011, and Team 3316 since 2013)
Engineer: 2011 - ? (B.Sc. and M.Sc. in Mech. Eng. from the Technion IIT)
FIRST Volunteer - 2007 - ? (MC, FTA, FIRST Aid etc.)
  #8   Spotlight this post!  
Unread 06-02-2005, 14:42
Leav's Avatar
Leav Leav is offline
Spud Gun Division
AKA: Leav Oz-Ari
FRC #3316 (D-Bug)
Team Role: Mentor
 
Join Date: Dec 2004
Rookie Year: 2005
Location: Technion, Haifa, Israel
Posts: 774
Leav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond repute
Send a message via ICQ to Leav Send a message via AIM to Leav Send a message via MSN to Leav
Re: controlling just x or y axis of a double articulated arm

found something!

http://www.chiefdelphi.com/forums/sh...ad.php?t=33081

Thanks guys, i think this works!

__________________
"We choose to build robots this season and do the other things; Not because they are easy, but because they are hard."
-Paraphrasing JFK

Participated in FIRST as a student: 2005-2006 (But still learning every season!)
Mentor: 2008 - ? (Team 2630 2008-2011, and Team 3316 since 2013)
Engineer: 2011 - ? (B.Sc. and M.Sc. in Mech. Eng. from the Technion IIT)
FIRST Volunteer - 2007 - ? (MC, FTA, FIRST Aid etc.)
  #9   Spotlight this post!  
Unread 06-02-2005, 14:50
russell's Avatar
russell russell is offline
Registered User
#1430 (WRONG)
Team Role: Electrical
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Anchorage AK
Posts: 402
russell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to all
Re: controlling just x or y axis of a double articulated arm

Yeah, that is kind of what I had in mind.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
arm design Zippiot Technical Discussion 32 27-01-2005 02:56
2-Segment Arm Control Orborde Programming 1 20-01-2005 01:40
Reflected Inertia? archiver 2001 9 24-06-2002 03:50


All times are GMT -5. The time now is 19:18.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi