View Single Post
  #6   Spotlight this post!  
Unread 14-02-2016, 13:54
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,559
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Robot class cannot be instantiated

Quote:
Originally Posted by 3205patriots View Post
armEncoder = new Encoder(0,0, false, Encoder.EncodingType.k4X); //CHANGE THE ENCODER PORTS
This is a problem, and probably what is causing your crash. You can't assign a port more then once, your encoder is using port 0 twice (and it might be conflicting with other things in your code as well.
Reply With Quote