View Single Post
  #3   Spotlight this post!  
Unread 10-01-2013, 18:23
gixxy's Avatar
gixxy gixxy is offline
Programming and Arduino Mentor
AKA: Gustave Michel III
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Ruston, LA
Posts: 207
gixxy is on a distinguished road
Re: Speed Control without CAN Jaguars

Without CAN you simply initiate a Jaguar(or Victor, ect.) object:
Code:
Jaguar climbMotor = new Jaguar(2); //Jaguar on port 2
Then setting the speed uses the set() method:
Code:
climbMotor.set(0); //Speed goes from -1 to 1
__________________
Programmer - A creature known for converting Caffeine into Code.
Studying Computer Science @ Louisiana Tech University
Associate Consultant @ Fenway Group

2012-13: 3946 - Head of Programming, Electrical and Web
2014 - 3468 - Programming Mentor
2015 - Present - Lurker
Reply With Quote