Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   CD Forum Support (http://www.chiefdelphi.com/forums/forumdisplay.php?f=8)
-   -   Jaguar help (http://www.chiefdelphi.com/forums/showthread.php?t=132853)

AnnaliseDonavan 14-01-2015 11:36

Jaguar help
 
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

Re: Jaguar help
 
Quote:

Originally Posted by AnnaliseDonavan (Post 1428098)
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.


All times are GMT -5. The time now is 03:26.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi