View Single Post
  #2   Spotlight this post!  
Unread 15-01-2016, 16:11
joelg236 joelg236 is offline
4334 Retired Mentor & Alumni
AKA: Joel Gallant
no team
Team Role: Mentor
 
Join Date: Dec 2011
Rookie Year: 2012
Location: Calgary
Posts: 733
joelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond repute
Re: Defining/Setting a motor in Java

First, the 50% code should be in teleopPeriodic, not init (so it keeps getting called over and over again).

Second, you're creating the talon at least twice. Your code isn't complete so I can't see where else it's being constructed.
__________________
All opinions are my own.
Reply With Quote