View Single Post
  #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.