Log in

View Full Version : 3rd Joystick- Counselor


MattK
09-07-2003, 10:31
Hey guys, I am a counselor at the FIRST EDU camp. One of the teams wants to use a 3rd Joystick.

Does anyone have code that I can borrow.

Thanks! :D

Joe Johnson
09-07-2003, 11:39
What do you want the 3rd joystick to do? It is easy enough to write some code for you but I don't know what you want done.

Joe J.

MattK
09-07-2003, 12:40
it is to controle a robotic arm

JVN
09-07-2003, 13:08
Originally posted by MattK
it is to controle a robotic arm

Matt... I think your going to need a little bit more information.
Lots of the mentors on these forums (including Joe) would be willing to help, if you could just clarify what exactly you need.

You can't expect to come in here say "I need help building a robot" and have someone send you plans for exactly what you need.

Good Luck,
John

PS - I'm not a software guy, and couldn't help you out if I tried.

MattK
09-07-2003, 13:11
Alright here is how it works... or is suppose to


We have a basic 4 wheel cart.... each wheel is independent.

We are using 2 joysticks (1 for each side)

On the cart we have a arm, we want it to be controlled by a 3rd joystick so we can vary the speed at which the arm moves.

Is it possible to plug a joystick into 2 or 4 to make it work?


Thanks,
Matt

Joe Johnson
09-07-2003, 14:25
Give me a simple table:

For example

p2_y => PWM2

p2_x => PWM4

Joe J.

Mike Soukup
09-07-2003, 15:23
I always laugh when I see people ask for software help because the way it's done is analogous to me asking for someone to "design me an arm for my robot."

We need details. What does each axis of the stick do? And more specifically as Joe said, what output should each input map to?