Go to Post I mean who does want to write their code like this... [CODE] CANHAZ.VICTOR; GIMME.VICTOR; VROOMVROOM.VICTOR(1); KTHNXBAI; [CODE] - JohnFogarty [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 05-02-2010, 10:12
thatoneguy23's Avatar
thatoneguy23 thatoneguy23 is offline
Fiding everything we need to know.
FRC #2389 (Oklahoma STORM)
Team Role: Scout
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Oklahoma
Posts: 41
thatoneguy23 is on a distinguished road
Tank Drive Joystick

Our Programmer is trying to put us into tank drive for our robot, but our second joystick is not responding to the program.

Could you guys give us some help?

Thanks
__________________



I think, therefore I am lost....- Me

"The difference between me and the rest of the world is sanity. They have it, I don't"
  #2   Spotlight this post!  
Unread 05-02-2010, 10:22
GEARmaster08's Avatar
GEARmaster08 GEARmaster08 is offline
Registered User
FRC #0876
 
Join Date: Jan 2010
Location: Minnesota
Posts: 7
GEARmaster08 is an unknown quantity at this point
Re: Tank Drive Joystick

Did you make sure the Joystick is plugged into the correct USB port that you have it programmed for?
  #3   Spotlight this post!  
Unread 05-02-2010, 10:25
thatoneguy23's Avatar
thatoneguy23 thatoneguy23 is offline
Fiding everything we need to know.
FRC #2389 (Oklahoma STORM)
Team Role: Scout
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Oklahoma
Posts: 41
thatoneguy23 is on a distinguished road
Re: Tank Drive Joystick

Yes, we have made sure.
__________________



I think, therefore I am lost....- Me

"The difference between me and the rest of the world is sanity. They have it, I don't"
  #4   Spotlight this post!  
Unread 05-02-2010, 12:23
GEARmaster08's Avatar
GEARmaster08 GEARmaster08 is offline
Registered User
FRC #0876
 
Join Date: Jan 2010
Location: Minnesota
Posts: 7
GEARmaster08 is an unknown quantity at this point
Re: Tank Drive Joystick

What are you using for Programming?
  #5   Spotlight this post!  
Unread 05-02-2010, 16:30
hyperdude's Avatar
hyperdude hyperdude is offline
Techie.
AKA: Mike W.
FRC #2503 (Warrior Robotics)
Team Role: College Student
 
Join Date: Nov 2009
Rookie Year: 2008
Location: Minnesota
Posts: 67
hyperdude has a spectacular aura abouthyperdude has a spectacular aura abouthyperdude has a spectacular aura about
Re: Tank Drive Joystick

We've had the same issue, programming in LabVIEW. Both joysticks are communicating with the laptop, but are not with the program.

When we loaded the bot with Java, both worked fine.
__________________
  #6   Spotlight this post!  
Unread 05-02-2010, 16:45
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,535
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Tank Drive Joystick

Ok, a list of questions:

1. Are you using game pads, or joysticks.
2. Have you cleaned out all the old joystick and drive references from the program?
3. Have you opened the joysticks in your Begin VI?
4. Have you confirmed that you are using the correct AXIS and wiring it into your motor set speed or the tank drive VI?
5. Have you connected indicators to the wire going from your joystick setref to your set motor speed in your teleoperated VI to confirm that your joystick is actually sending teh set motor speed VI a non-zero value?
6. Have you checked the diagnostics tab and noted any errors you might be seeing?
  #7   Spotlight this post!  
Unread 08-02-2010, 10:33
JohnFogarty's Avatar
JohnFogarty JohnFogarty is offline
Trapped under a pile of MECANUMS :P
AKA: @doctorfogarty
FTC #11444 (Garnet Squadron) & FRC#1102 (M'Aiken Magic)
Team Role: Mentor
 
Join Date: Aug 2009
Rookie Year: 2006
Location: SC
Posts: 1,580
JohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond repute
Re: Tank Drive Joystick

Quote:
Originally Posted by Tom Line View Post
Ok, a list of questions:

1. Are you using game pads, or joysticks.
2. Have you cleaned out all the old joystick and drive references from the program?
3. Have you opened the joysticks in your Begin VI?
4. Have you confirmed that you are using the correct AXIS and wiring it into your motor set speed or the tank drive VI?
5. Have you connected indicators to the wire going from your joystick setref to your set motor speed in your teleoperated VI to confirm that your joystick is actually sending teh set motor speed VI a non-zero value?
6. Have you checked the diagnostics tab and noted any errors you might be seeing?
Tis a sad thing but just writing in the tank drive VI won't do it. I had to start from scratch to get tank drive to work
__________________
John Fogarty
2010 FTC World Championship Winner & 2013-2014 FRC Orlando Regional Winner
Mentor FRC Team 1102 M'Aiken Magic
"Head Bot Coach" FTC Team 11444 Garnet Squadron
Former Student & Mentor FLL 1102, FTC 1102 & FTC 3864, FRC 1772, FRC 5632
2013 FTC World Championship Guest Speaker
  #8   Spotlight this post!  
Unread 08-02-2010, 21:04
zip100 zip100 is offline
Registered User
FRC #0640
 
Join Date: Feb 2010
Location: New York
Posts: 31
zip100 is an unknown quantity at this point
Re: Tank Drive Joystick

We had the same problem, we fixed it by placing pwm 2 to pwm 3.
  #9   Spotlight this post!  
Unread 08-02-2010, 21:28
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: Tank Drive Joystick

It could be that the classmate is assigning the 2nd joystick to some other slot. In the setup page there should be a box listing the joysticks. Make sure they are on 1 and 2
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
Tank Drive vs. Omni Directional Drive jamie_1930 General Forum 9 24-01-2010 22:50
Tank Drive Sauce Programming 1 05-01-2009 18:50
Tank Drive Idaman323 Programming 14 15-02-2005 09:01
tank drive Stormhammer Programming 11 29-01-2004 23:08
Single Joystick Tank Steering archiver 2001 5 23-06-2002 22:49


All times are GMT -5. The time now is 21:33.

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