Go to Post I actually love and am very thankful for what all these amazing engineering role models put into this program year in and year out. - Bill Gold [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 20-02-2010, 14:37
brianelite brianelite is offline
Registered User
FRC #2898
 
Join Date: Feb 2009
Location: oregon
Posts: 36
brianelite has a spectacular aura aboutbrianelite has a spectacular aura aboutbrianelite has a spectacular aura about
Holonomic Drive with one joystick

Has anyone here implemented Holonomic Drive with one Joystick here?

We tried HolonomicDrive(stick->GetMagnitude(),stick->GetDirectionRadians(), 0);
(also with degrees)

and didn't get a drivable robot... inverting the motors didn't help either...

We eventually got an Arcade Drive equivalent using the holonomic drive function with:
HolonomicDrive(-stick->GetGetX(),0, stick->GetGetY());

...

How are you implementing the Holonomic Drive with one joystick? Help is very appreciated!
__________________
Reply With Quote
  #2   Spotlight this post!  
Unread 20-02-2010, 16:55
qwertyuiop[]\'s Avatar
qwertyuiop[]\ qwertyuiop[]\ is offline
Drive Train/Manipulator Team Leader
AKA: Steven Harris
FRC #0623 (Cougar Robotics)
Team Role: Engineer
 
Join Date: Jan 2008
Rookie Year: 2003
Location: Oakton, VA
Posts: 140
qwertyuiop[]\ is a glorious beacon of lightqwertyuiop[]\ is a glorious beacon of lightqwertyuiop[]\ is a glorious beacon of lightqwertyuiop[]\ is a glorious beacon of lightqwertyuiop[]\ is a glorious beacon of lightqwertyuiop[]\ is a glorious beacon of light
Re: Holonomic Drive with one joystick

3 axis joy stick (ie side to side, front to back, and twist). if u dont have a 3 axis joystick then u cannot use only one joystick. you must use two joysticks and have one of the axes on the second be twist.
3 axis joystick: http://www.logitech.com/index.cfm/ga...s/291&cl=us,en
__________________
"...i told you i wanted the left-handed screwdriver not the right-handed one..." always let the mentors get their morning coffee or else they start getting angry and making stuff up.

2005 NASA VCU Website Excellence Award, 2006 NASA VCU Website Excellence Award, 2006 Capital Clash, 2006 Delaware FVC Regional, 2007 Ramp Riot, 2007 Virginia FTC Regional, 2008 NASA VCU Regional, 2008 Battle of Baltimore, 2008 Virgina FTC Regional
Reply With Quote
  #3   Spotlight this post!  
Unread 20-02-2010, 19:41
brianelite brianelite is offline
Registered User
FRC #2898
 
Join Date: Feb 2009
Location: oregon
Posts: 36
brianelite has a spectacular aura aboutbrianelite has a spectacular aura aboutbrianelite has a spectacular aura about
Re: Holonomic Drive with one joystick

we have that joystiq: can you please give us the line of code to make that joystick work with holonomicdrive?
__________________
Reply With Quote
  #4   Spotlight this post!  
Unread 22-02-2010, 18:07
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Holonomic Drive with one joystick

HolonomicDrive(joystick->GetMagnitude(), joystick->GetDirectionRadians(), joystick->GetZ());

Be careful on the GetZ parameter to make sure that's the correct axis you want for the "twist". On my Microsoft SideWinder joystick, the "Twist" is Z. It may be different on your joystick.
Reply With Quote
Reply


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
trouble with the holonomic drive ronlv NI LabVIEW 2 10-02-2010 20:29
Using holonomic Drive with Dual Joystick Controller robotic321 NI LabVIEW 2 05-02-2010 23:45
Holonomic drive vi with mecanum wheels dwodrich NI LabVIEW 7 18-01-2010 16:01
One Joystick Drive mattsavela Programming 20 19-05-2005 21:28
question about one joystick drive programing james700 Programming 13 29-01-2003 14:49


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

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