|
Re: Issue using code w/ multiple classes
The problem wasn't obvious off-hand, but you might try a few things:
- Use Test mode to verify that the motors are all working. Run SmartDashboard then using the Driver Station, put the robot in Test mode. You'll see sliders for each of the motors. You can move them to make sure that the motors are properly connected. Be sure you have the most recent update to the Netbeans plugin for this to work. Look here for some help: http://wpilib.screenstepslive.com/s/...ode-livewindow
- You might consider using the WPILib RobotDrive object. It will support mecanum drive, tank drive, and arcade drive and has been used successfully by many teams. Look at the example here:
http://wpilib.screenstepslive.com/s/...botdrive-class
Brad
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
|