Go to Post And yes. The Super Bowl is on, and I'm replying to a thread on Chief Delphi... - BobbyVanNess [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-01-2005, 13:25
Team ICE #1611 Team ICE #1611 is offline
Registered User
#1611
 
Join Date: Jan 2005
Location: Effingham,Ga
Posts: 4
Team ICE #1611 is an unknown quantity at this point
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?
  #2   Spotlight this post!  
Unread 24-01-2005, 13:44
Charly's Avatar
Charly Charly is offline
Registered User
AKA: Ricardo Martins
#0714 (Super Panthers)
Team Role: Electrical
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Newark, New Jersey
Posts: 20
Charly is an unknown quantity at this point
Send a message via AIM to Charly
Re: We need help with joystick control

Is your robot 2WD, 4WD, 6WD?
__________________
Team 714 Robotic Design Captain/Electrician
Winners of the 2004 New Jersey Regional Chairman's Award!
Competitions we'll be attending in 2005: NJ Regional, Florida Regional, Championships!
  #3   Spotlight this post!  
Unread 24-01-2005, 14:29
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
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.)
  #4   Spotlight this post!  
Unread 24-01-2005, 15:27
Team ICE #1611 Team ICE #1611 is offline
Registered User
#1611
 
Join Date: Jan 2005
Location: Effingham,Ga
Posts: 4
Team ICE #1611 is an unknown quantity at this point
Re: We need help with joystick control

Quote:
Originally Posted by Charly
Is your robot 2WD, 4WD, 6WD?
we are using 2WD
  #5   Spotlight this post!  
Unread 24-01-2005, 15:57
vtrehan's Avatar
vtrehan vtrehan is offline
Mentor - Controls & Programming
AKA: Vivek Trehan
FRC #1241 (Theory6)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Mississauga, ON
Posts: 38
vtrehan is on a distinguished road
Send a message via Yahoo to vtrehan
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
__________________
2006-GM Industrial Design Award - Greater Toronto Super Regional
2006-Engineering Inspiration Award - Arizona Regional
2006-Regional Finalist - Arizona Regional

2005-Best Defensive Robot - Wonderland Off-Season
2005-Regional Chairman's Winners - Greater Toronto Regional
2005-Regional Champions - Waterloo (Thanks 68 and 1305)
2005-Best Website - Greater Toronto Regional
2005-Team Spirit Award - Waterloo
2005-Entreprenuership Award - Waterloo

2004-Rookie All-Star award - Great Lakes Regional
2004-Rookie Highest Seed - Greater Toronto Regional
2004-Rookie All-Star award - Greater Toronto Regional
2004-Team Spirit award - Greater Toronto Regional
2004-Team Spirit award - National Championship


Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Single joystick control problem Mr. Van Programming 7 23-11-2004 09:10
One Joystick Control KWalsh Programming 4 24-02-2004 17:53
Changing 1 joystick code to 2 (rookie team) Brawler006 Programming 5 20-02-2004 17:00
how do i control a piston with a joystick Ryan Foley Programming 2 27-05-2003 17:13
robot goes haywire with the one joystick default code Miles Programming 7 24-01-2003 14:58


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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