View Single Post
  #9   Spotlight this post!  
Unread 17-02-2011, 14:06
omalleyj omalleyj is offline
Registered User
AKA: Jim O'Malley
FRC #1279 (Cold Fusion)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: New Jersey
Posts: 132
omalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to behold
Re: Mecanum and Gear Ratios

Quote:
Originally Posted by HarryScheiner View Post
Thanks guys. We're going to try to get some Toughboxes from a team in our area that isn't competing this year, but if not we will probably have to try and do it in the software.

I was actually going to try and scale down the Y value of the joystick when the front motors speed calculations were taking place (in RobotDrive.java), but I can't figure out how to modify it. Is it read-only because it's part of the wpilib libraries? And if so, can I make it not read-only somehow?
Scaling only the Y won't be sufficient to give you proper control.
You can modify RobotDrive.java in NetBeans, open wpilibj as a project, edit the file (back up or comment out the original code), and build the project as normal. (Don't make it your main project when opening)
Reply With Quote