Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Control System (http://www.chiefdelphi.com/forums/forumdisplay.php?f=177)
-   -   We need help with joystick control (http://www.chiefdelphi.com/forums/showthread.php?t=33332)

Team ICE #1611 24-01-2005 13:25

We need help with joystick control
 
This past Saturday our robot came to life when we swithched it on for the first time. We all thought it was great but there was one problem it worked with two joysticks and we only want to use one. Its working on PWM's 1 and 2 and 13-16 PWM's dont work. Any suggestions on how to get it to work with one joystick?

Charly 24-01-2005 13:44

Re: We need help with joystick control
 
Is your robot 2WD, 4WD, 6WD?

Alan Anderson 24-01-2005 14:29

Re: We need help with joystick control
 
Quote:

Originally Posted by Team ICE #1611
This past Saturday our robot came to life when we swithched it on for the first time. We all thought it was great but there was one problem it worked with two joysticks and we only want to use one. Its working on PWM's 1 and 2 and 13-16 PWM's dont work. Any suggestions on how to get it to work with one joystick?

If you're using the default software with camera support, notice that the comments do not accurately describe the code itself. The pwm outputs for single joystick control are on pwm11 and pwm12. (I might be misremembering, so check it out for yourself.)

Team ICE #1611 24-01-2005 15:27

Re: We need help with joystick control
 
Quote:

Originally Posted by Charly
Is your robot 2WD, 4WD, 6WD?

we are using 2WD

vtrehan 24-01-2005 15:57

Re: We need help with joystick control
 
Quote:

Originally Posted by Team ICE #1611
This past Saturday our robot came to life when we swithched it on for the first time. We all thought it was great but there was one problem it worked with two joysticks and we only want to use one. Its working on PWM's 1 and 2 and 13-16 PWM's dont work. Any suggestions on how to get it to work with one joystick?


Which version of the FRC code are you currently using? If it is the version without the camera mode then idealy a problem should not occur (unless its some faulty wiring).

If you are using the version with the camera operation code, then I would recommend you first try out the non-camera mode, then after you are certain of your basic wiring/assembly, you can move on to the higher stuff.

The non-camera default code is driven by one joystick, and you should use PWM 13 (for right drive motor) and 15 (for left drive motor), as you said you have 2 wheel drive.

Please PM me if you need detailed assistance :)


All times are GMT -5. The time now is 03:57.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi