Quote:
Originally Posted by HarryScheiner
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)