Log in

View Full Version : Jaguar help


AnnaliseDonavan
14-01-2015, 11:36
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

Adam8234
14-01-2015, 16:44
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.