3rd Joystick- Counselor

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! :smiley:

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.

it is to controle a robotic arm

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

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

Give me a simple table:

For example

p2_y => PWM2

p2_x => PWM4

Joe J.

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?