View Single Post
  #3   Spotlight this post!  
Unread 02-11-2011, 18:52
rrossbach rrossbach is offline
Registered User
AKA: Ron R
FRC #2607 (RoboVikings)
Team Role: Mentor
 
Join Date: Nov 2008
Rookie Year: 2008
Location: Warrington PA
Posts: 90
rrossbach is a splendid one to beholdrrossbach is a splendid one to beholdrrossbach is a splendid one to beholdrrossbach is a splendid one to beholdrrossbach is a splendid one to beholdrrossbach is a splendid one to beholdrrossbach is a splendid one to behold
Re: Null motor error

Quote:
Originally Posted by rudun View Post
We have gotten the black jaguar serial bridge set up. The jaguars have the latest firmware, we have flashed the crio with v92. I am able to spin a motor with BDC-Comm. However when the robot initializes it throws a null motor exception. we are using java and just using a try like this.

Code:
try { leftMotor = new CanJaguar(2); }
catch (Exception e) {
System.out.println(getMessage());
}
The class is CANJaguar, not CanJaguar.

- Ron
__________________

FIRST Mid-Atlantic Volunteer
FRC Team #2607 Mentor
Reply With Quote