Thread: Mecanum-Code
View Single Post
  #7   Spotlight this post!  
Unread 28-01-2014, 19:26
nyaculak nyaculak is offline
Registered User
FRC #0053 (Area 53)
Team Role: Programmer
 
Join Date: Oct 2011
Rookie Year: 2011
Location: Maryland
Posts: 28
nyaculak will become famous soon enough
Re: Mecanum-Code

Quote:
Originally Posted by FRC TEAM 4085 View Post
We added a fail safe system for if any reason the mecanum code doesn't work or the driver doesn't feel safe using the mecanum code we added tank drive which is a drive style our team feels very comfortable with while the mecanum code is new.
Sorry, I should have looked at the rest of your teleop code.

Quote:
To Joe, The program is not recognizing any inputs at all from the xbox controller but are in fact recognizing from the attack 3 controller with the kit of parts.
You might want to check that the drivers for the Xbox controller are installed (I've never had a problem with it; one would think the Microsoft hardware and software would work well together). You should be able to see the Xbox controller as a device somewhere in the Windows Control Panel. Does the driver station recognize it as a controller when you plug it in?

Also, you'll still want to move the retrieval of the axis values to the beginning of the loop.

Another tip: the tangent of an angle equals opposite over adjacent (y/x).
__________________
2013 MUC DC 3rd Place, FRC DC Regional, FRC Chesapeake Regional
2012 FRC DC Regional, FRC Chesapeake Regional
ERHS Robotics Club
- FRC Team 53 "Area 53"
www.erhsroboticsclub.org
Reply With Quote