Thread: Jaguar help
View Single Post
  #2   Spotlight this post!  
Unread 14-01-2015, 16:44
Adam8234's Avatar
Adam8234 Adam8234 is offline
Controls Captain
AKA: Adam Corpstein
FRC #2052 (KnightKrawler)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2014
Location: United States
Posts: 28
Adam8234 will become famous soon enough
Re: Jaguar help

Quote:
Originally Posted by AnnaliseDonavan View Post
Okay so i just found out that we are using the eclipse extension and i was wondering if when you call in and identify the jaguar is it the same as before or is it different this is what i had for the old one

import edu.wpi.first.wpilibj.Jaguar

Jaguar LA = new Jaguar(5)
Jaguar RA = new Jaguar(6)
Jaguar Vertical = new Jaguar(7)

and then you call the jaguar like this :
RA.set
Yes, it is the same. You call jaguar.set to set the speed of any speed controller. This also applies to the new CAN Speed controllers too.
Reply With Quote