Go to Post My favorite question of all time asked by "outsiders": How much does/did that thing cost? How can you put a price on the hard-work and dedication it took to build these machines? - KyleGilbert45 [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 29-01-2011, 17:06
frenchie4111 frenchie4111 is offline
Registered User
None #1111
 
Join Date: Jan 2010
Location: Southriver
Posts: 23
frenchie4111 is an unknown quantity at this point
Strafing Mecanum with Gyro

Our team has installed a Gyro, the gyro is zeroed, and in the exact middle of our bot. We can read the values, and we put the gyro angle directly into the Holonomic Drive gyro input. We have noticed that this helps our robot move forward in a very precise line, but does not help our strafing ability, and it is easier/more precise to self correct instead.

We would like to know if there is a way to make the Gyro improve our strafing capabilities.
__________________
[url="http://mylifeisnerdy.co.cc"]My Life Is NerdyURL]
Reply With Quote
  #2   Spotlight this post!  
Unread 29-01-2011, 17:13
Chris is me's Avatar
Chris is me Chris is me is offline
no bag, vex only, final destination
AKA: Pinecone
FRC #0228 (GUS Robotics); FRC #2170 (Titanium Tomahawks)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Glastonbury, CT
Posts: 7,755
Chris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond repute
Send a message via AIM to Chris is me
Re: Strafing Mecanum with Gyro

What about your strafing capabilities do you find difficult right now? What problems are you trying to solve?
__________________
Mentor / Drive Coach: 228 (2016-?)
--2016 Waterbury SFs (with 3314, 3719), RIDE #2 Seed / Winners (with 1058, 6153), Carver QFs (with 503, 359, 4607)
Mentor / Consultant Person: 2170 (2017-?)
.
College Mentor: 2791 (2010-2015)
-- 2015 TVR Motorola Quality, FLR GM Industrial Design -- 2014 FLR Motorola Quality / SFs (with 341, 4930)
-- 2013 BAE Motorola Quality, WPI Regional #1 Seed / Delphi Excellence in Engineering / Finalists (with 20, 3182)
-- 2012 BAE Imagery / Finalists (with 1519, 885), CT Xerox Creativity / SFs (with 2168, 118)
Student: 1714 (2009) - 2009 MN 10K Lakes Regional Winners (with 2826, 2470)
2791 Build Season Photo Gallery - Look here for mechanism photos My Robotics Blog (Updated April 11 2014)
Reply With Quote
  #3   Spotlight this post!  
Unread 29-01-2011, 18:08
frenchie4111 frenchie4111 is offline
Registered User
None #1111
 
Join Date: Jan 2010
Location: Southriver
Posts: 23
frenchie4111 is an unknown quantity at this point
Re: Strafing Mecanum with Gyro

It does not strafe perfectly, it rotates while it is going
__________________
[url="http://mylifeisnerdy.co.cc"]My Life Is NerdyURL]
Reply With Quote
  #4   Spotlight this post!  
Unread 29-01-2011, 22:27
jackinabox jackinabox is offline
Registered User
FRC #2497
 
Join Date: Jan 2010
Location: Natick MA
Posts: 1
jackinabox is an unknown quantity at this point
Re: Strafing Mecanum with Gyro

Are you using PWM? Last year we had a meccanum drive on PWM and had the same problem. This year we are using CAN, and our meccanum setup drives PERFECTLY.
Reply With Quote
  #5   Spotlight this post!  
Unread 30-01-2011, 06:35
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,753
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Strafing Mecanum with Gyro

It sounds like you need to post code or math describing your control method. Also, are you using a polar form of robot drive?

Greg McKaskle
Reply With Quote
  #6   Spotlight this post!  
Unread 30-01-2011, 12:52
frenchie4111 frenchie4111 is offline
Registered User
None #1111
 
Join Date: Jan 2010
Location: Southriver
Posts: 23
frenchie4111 is an unknown quantity at this point
Re: Strafing Mecanum with Gyro

Quote:
Originally Posted by jackinabox View Post
Are you using PWM? Last year we had a meccanum drive on PWM and had the same problem. This year we are using CAN, and our meccanum setup drives PERFECTLY.
Do you know what your code was like that made it work perfectly with CAN?

And I will post my current code once I get a screen shot.
Attached Thumbnails
Click image for larger version

Name:	Wall.png
Views:	116
Size:	12.8 KB
ID:	9889  
__________________
[url="http://mylifeisnerdy.co.cc"]My Life Is NerdyURL]

Last edited by frenchie4111 : 30-01-2011 at 13:17.
Reply With Quote
  #7   Spotlight this post!  
Unread 01-02-2011, 21:35
Steve_Alaniz Steve_Alaniz is offline
Registered User
FRC #2848 (All Sparks)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 1997
Location: Dallas
Posts: 211
Steve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond repute
Re: Strafing Mecanum with Gyro

Quote:
Originally Posted by jackinabox View Post
Are you using PWM? Last year we had a meccanum drive on PWM and had the same problem. This year we are using CAN, and our meccanum setup drives PERFECTLY.
I must admit that I didn't give this notion much credit but I suppose using a digital setting with CAN vs a timed signal from PWM may actually merit looking at more closely. Do you have an explanation as to why there might be a difference or is it just an observation? Anyone else have input?

Steve
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


All times are GMT -5. The time now is 07:48.

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