View Single Post
  #4   Spotlight this post!  
Unread 26-01-2013, 14:01
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 588
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: Issue using code w/ multiple classes

The problem wasn't obvious off-hand, but you might try a few things:
  1. 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
  2. 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
Reply With Quote