View Single Post
  #7   Spotlight this post!  
Unread 12-02-2015, 10:12
Ozuru's Avatar
Ozuru Ozuru is offline
It's always the programmer's fault.
no team
 
Join Date: May 2013
Rookie Year: 2010
Location: Earth
Posts: 268
Ozuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to behold
Re: Java x axis on joystick

Quote:
Originally Posted by GeeTwo View Post
Which programming model are you using (Sample, Iterative, etc)?

What model of joystick are you using?

What motor controller are you using (Talon SR, Talon SRX, Jaguar...)?

Essentially, you need to declare a motor controller and a joystick axis, and do a motor.set(joystick.getX()) several times a second.


Here's a recent snapshot of our current "elevator" at github. It's built on the IterativeRobot template.
Hi GeeTwo,

What is the purpose of a PID subsystem? I have never understood why PIDSubsystems are used -- couldn't this have been accomplished using just a regular subsystem? What are the advantages to using a PIDSubsystem and when should it be used?
Reply With Quote