Go to Post Remind me again. Why do we let the GDC hold us captive to these hints year after year? - jholman [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 22-01-2015, 08:44
igorjavaroni igorjavaroni is offline
Registered User
FRC #1382 (ETEP Team)
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Brazil
Posts: 20
igorjavaroni is an unknown quantity at this point
45º Degrees Wheels

Hey Guys! Our team have 4 45º Degrees Wheels.
1º - I wanna know which wheel are that? Omni or Mecanum? What's the difference?

2º - I know that my team asked about that, but how to programming this exactly? Does anyone can help us with a little exemple or something like that? We are using labview..

3º My idea with omni is when u press the trigger you activate cartesian plan, if you don't press you can move in his axis normally and to compensate the mistakes during teleop period we will use a gyro, and we are planning use a PID. In this post, i put 2 images that i think is correct, but i don't have ideia how to cmpensate these mistakes in PID and send to motor again.

Does anyone can really help us?

Thank you so much for your attention!
http://imageshack.com/a/img537/7903/xxGlVg.png
http://imageshack.com/a/img540/2773/lw8G4K.png
  #2   Spotlight this post!  
Unread 22-01-2015, 09:16
John Retkowski's Avatar
John Retkowski John Retkowski is offline
Team 316 mentor
AKA: Wyatt. Call me Wyatt.
FRC #0316 (LuNaTeCs)
Team Role: College Student
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Pedricktown, NJ
Posts: 124
John Retkowski is a glorious beacon of lightJohn Retkowski is a glorious beacon of lightJohn Retkowski is a glorious beacon of lightJohn Retkowski is a glorious beacon of lightJohn Retkowski is a glorious beacon of light
Re: 45º Degrees Wheels

Could you post some pictures of the wheels? I'm assuming the wheels are mecanum given the angle. The difference between mecanum and omni wheels is that while omni's have smaller wheels "perpendicular" to the larger wheel, Mecanum wheels have smaller wheels positioned at 45 degree angles all around the larger wheel. Mecanum wheels allow a robot with the right programming to strafe side to side or diagonally in different directions. I believe Omni wheels can move side to side but not diagonally. And, while mecanum wheels can move side to side based on the direction they are driving to eachother, omni's need another power source to move them sideways.

Here is a link to a thread that talks about the subject in more detail. I've done a poor job explaining. http://www.chiefdelphi.com/forums/sh...ad.php?t=57282
__________________
2015 MAR District Championship #1 seed Winners (w 225 & 203)
2015 Upper Darby District #2 Seed Finalist(w 272 & 5420)
2015 NE Pioneer Valley District #3 Seed Finalists (w 61 & 663)
2014 Lenape Seneca District Champions (w 3929 & 2559)
2014 Springside Chestnut Hill District Champions (w 225 & 1495)
2013 Lenape Seneca District Champions
2013 Springside Chestnut Hill Finalists


Last edited by John Retkowski : 22-01-2015 at 09:19.
  #3   Spotlight this post!  
Unread 22-01-2015, 09:44
igorjavaroni igorjavaroni is offline
Registered User
FRC #1382 (ETEP Team)
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Brazil
Posts: 20
igorjavaroni is an unknown quantity at this point
Re: 45º Degrees Wheels

Oooh Good Job! I really could understand, So i think our wheels are mecanum, but now do you have idea about the programming?
  #4   Spotlight this post!  
Unread 22-01-2015, 10:07
samfruth's Avatar
samfruth samfruth is offline
Registered User
FRC #1710 (Ravonics Revolution)
Team Role: Driver
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Olathe, Kansas
Posts: 132
samfruth will become famous soon enough
Re: 45º Degrees Wheels

Here's a quick map of which direction the whees need to be spinning in order to move in a desired direction. I can't remember if there is a mechanum VI in LabView or not, but I would just put each motor in as a regular old CIM in the code. How exactly do you want to drive the robot? (controller wise that is) Are you using a joystick or Xbox-type controller?

  #5   Spotlight this post!  
Unread 22-01-2015, 10:17
Whippet's Avatar
Whippet Whippet is offline
MIT Class of 2020
AKA: Luis Trueba
FRC #4301 (New Tech Narcissists)
Team Role: Alumni
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Cambridge, MA
Posts: 1,187
Whippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond repute
Send a message via Yahoo to Whippet
Re: 45º Degrees Wheels

Quote:
Originally Posted by samfruth View Post
Here's a quick map of which direction the whees need to be spinning in order to move in a desired direction. I can't remember if there is a mechanum VI in LabView or not, but I would just put each motor in as a regular old CIM in the code.
LabVIEW has a Holomic Drive VI that can be configured to "Mecanum Cartesian." If you have a gyro wired into your roboRIO, you can connect the output into the Holonomic Drive VI to have field-centric driving.
__________________
2010: FRC 3043, Build Assistant
2011: FRC 3043, Head of Minibot subteam; FLL 12762, Team Captain
2012: FRC 3043, Electrical; FLL 12762, Team Captain; FTC 5670, Team Captain
2013: FRC 4301, Electrical, Team Co-Captain
2014: FRC 4301, Electrical/Programming, Team Co-Captain
2015: FRC 4301, Electrical/Programming, Team Captain
2016: FRC 4301, Chief Technical Officer; FTC 10860, 10861, and 11004: Mentor. Winner, Hub City Regional (3310 & 4063)
  #6   Spotlight this post!  
Unread 22-01-2015, 13:05
igorjavaroni igorjavaroni is offline
Registered User
FRC #1382 (ETEP Team)
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Brazil
Posts: 20
igorjavaroni is an unknown quantity at this point
Re: 45º Degrees Wheels

Quote:
Originally Posted by Whippet View Post
LabVIEW has a Holomic Drive VI that can be configured to "Mecanum Cartesian." If you have a gyro wired into your roboRIO, you can connect the output into the Holonomic Drive VI to have field-centric driving.
Did you say like this?
Where exactly I should connect?
  #7   Spotlight this post!  
Unread 22-01-2015, 17:21
Spoam's Avatar
Spoam Spoam is offline
Registered User
AKA: Pedro M.
FRC #0955 (CV Robotics)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2012
Location: Corvallis
Posts: 54
Spoam is a jewel in the roughSpoam is a jewel in the roughSpoam is a jewel in the roughSpoam is a jewel in the rough
Re: 45º Degrees Wheels

Quote:
Originally Posted by igorjavaroni View Post

3º My idea with omni is when u press the trigger you activate cartesian plan, if you don't press you can move in his axis normally and to compensate the mistakes during teleop period we will use a gyro, and we are planning use a PID. In this post, i put 2 images that i think is correct, but i don't have ideia how to cmpensate these mistakes in PID and send to motor again.

Does anyone can really help us?

Thank you so much for your attention!
http://imageshack.com/a/img537/7903/xxGlVg.png
http://imageshack.com/a/img540/2773/lw8G4K.png
Não to bem entendo o que vocês querem fazer com gyro e PID. Pode descrever em português? Eu nunca programei em labview então eu não posso ajudar muito aí, mais si vocês querem ajuda sobre os conceitos de usar roda mecanum e como funciona o métodos de programar/controlar um robô usando ela eu posso ajudar.

- Pedro, CV Robotics
__________________
2015 PNW District Champions (955, 1983, 2930)





Co-Creator of 955 OPR
  #8   Spotlight this post!  
Unread 22-01-2015, 17:47
Whippet's Avatar
Whippet Whippet is offline
MIT Class of 2020
AKA: Luis Trueba
FRC #4301 (New Tech Narcissists)
Team Role: Alumni
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Cambridge, MA
Posts: 1,187
Whippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond repute
Send a message via Yahoo to Whippet
Re: 45º Degrees Wheels

Quote:
Originally Posted by igorjavaroni View Post
Did you say like this?
Where exactly I should connect?
You have your mecanum drive VI currently set to Polar mode. While this does have it's advantages, it is only useful if you have more advanced programming capability. You need to set it to Cartesian mode, where you can directly wire in an x, y, and rotation value, in addition to a gyro angle input. I will try to get you some screenshots from our last year's code tomorrow.

EDIT: From what I understand from your original post, what you are trying to do is have your robot set up where while a button is pressed, it is driven like a standard arcade drive robot, with forward on the joystick corresponding with the robot moving forward with regards to itself, and when the button is not pressed, the robot's direction will be compensated for with the gyro input. If this is the case, you can always leave the robot in Cartesian mode, and use a case structure to replace the gyro value with 0 when you're not using it. I hope this helps!
__________________
2010: FRC 3043, Build Assistant
2011: FRC 3043, Head of Minibot subteam; FLL 12762, Team Captain
2012: FRC 3043, Electrical; FLL 12762, Team Captain; FTC 5670, Team Captain
2013: FRC 4301, Electrical, Team Co-Captain
2014: FRC 4301, Electrical/Programming, Team Co-Captain
2015: FRC 4301, Electrical/Programming, Team Captain
2016: FRC 4301, Chief Technical Officer; FTC 10860, 10861, and 11004: Mentor. Winner, Hub City Regional (3310 & 4063)

Last edited by Whippet : 22-01-2015 at 17:54.
  #9   Spotlight this post!  
Unread 22-01-2015, 17:51
AGPapa's Avatar
AGPapa AGPapa is offline
Registered User
AKA: Antonio Papa
FRC #5895
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2011
Location: Robbinsville, NJ
Posts: 323
AGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond repute
Re: 45º Degrees Wheels

Quote:
Originally Posted by igorjavaroni View Post
Did you say like this?
Where exactly I should connect?
If you want to use field-centric controls you must drive in cartesian.
The code that I've attached shows you how to do this (The gyro is optional, if you don't connect it then the drive will be robot-centric).
Attached Thumbnails
Click image for larger version

Name:	what.JPG
Views:	35
Size:	23.4 KB
ID:	17948  
__________________
Team 2590 Student [2011-2014]
Team 5684 Mentor [2015]
Team 5895 Mentor [2016-]
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


All times are GMT -5. The time now is 02:58.

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