View Single Post
  #64   Spotlight this post!  
Unread 11-06-2014, 00:49
Chiller Chiller is offline
Registered User
AKA: Connor Christie
FRC #4095 (RoXI Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 118
Chiller is on a distinguished road
Re: Team 4095 Presents: iPhone Driver Station!

Quote:
Originally Posted by mman1506 View Post
Awesome app! I'm a little confused about the the right joystick pad on the joysticks page. Our robot uses Joystick 1 for power and Joystick 2 for turning, is it possible to put these on the same page? What does the right joy pad on each joystick page do anyway?
If your in java or c++ joystick 1 is like new Joystick(1) and the left stick is axis' 1&2 and the right stick is axis' 3&4, the sticks are just different axis'

And also here is the documentation on the joysticks.

Joysticks 1 - 2

Axis | Code Reference
X Left | 1
Y Left | 2

X Right | 3
Y Right | 4

Buttons are number for number for Code Reference

Camera - Uses Joystick 1

Joystick 4 - Accelerometer

Axis | Code Reference
X | 1
Y | 2
Z | 3