View Single Post
  #3   Spotlight this post!  
Unread 11-02-2015, 08:13
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,574
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Java x axis on joystick

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.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
Reply With Quote