Go to Post I don't think we really fit into those rigidly defined categories, my team builds our robot. - AdamHeard [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 09-02-2013, 12:28
oevelazquez123 oevelazquez123 is offline
Programming Captain
FRC #4549 (Iron Bulls)
Team Role: Programmer
 
Join Date: Feb 2013
Rookie Year: 2012
Location: South St. Paul, MN
Posts: 7
oevelazquez123 is an unknown quantity at this point
Exclamation One side of Robot not moving (Tank Drive)

when we try to move our robot, only one side works. We have checked endless times to see if there are any errors in the programming. We are using LabView to program this. I have looked at other forums to see if there is anything i missed but everything seems to be fine. We have also checked to see if there is any wiring problems, but there has not been a single one anymore. Also, for some reason, both joysticks change to be in the same port. Im thinking this is the problem but im not sure.This is our first year doing this and we don't have any mentors that know the LabView Language. We would appreciate it if anyone can help us. I have posted our begin.vi and teleop.vi as well as our joysickref.
Attached Thumbnails
Click image for larger version

Name:	Joystick.png
Views:	38
Size:	73.6 KB
ID:	13869  Click image for larger version

Name:	jystickdevref.jpg
Views:	21
Size:	221.4 KB
ID:	13870  Click image for larger version

Name:	begin.vi.png
Views:	15
Size:	62.1 KB
ID:	13871  Click image for larger version

Name:	teleop.vi.png
Views:	16
Size:	73.5 KB
ID:	13872  
  #2   Spotlight this post!  
Unread 09-02-2013, 12:37
bvisness's Avatar
bvisness bvisness is offline
Programming Mentor, Former Driver
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Woodbury, MN
Posts: 183
bvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of light
Re: One side of Robot not moving (Tank Drive)

I don't see any errors in your code right now, but you should maybe consider wiring the Error Out terminal on your Drive Refnum Get to the error in on your Tank Drive. You could probe that while code is running to see if there are any errors with your drive configuration.

Also, could you post a screenshot of your driver station's Setup tab? It would help to see how you have your joysticks configured.

EDIT: Posted a screenshot of the Error wire
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	20
Size:	2.8 KB
ID:	13873  

Last edited by bvisness : 09-02-2013 at 12:40.
  #3   Spotlight this post!  
Unread 09-02-2013, 13:02
oevelazquez123 oevelazquez123 is offline
Programming Captain
FRC #4549 (Iron Bulls)
Team Role: Programmer
 
Join Date: Feb 2013
Rookie Year: 2012
Location: South St. Paul, MN
Posts: 7
oevelazquez123 is an unknown quantity at this point
Re: One side of Robot not moving (Tank Drive)

which one is the driver station tab?
  #4   Spotlight this post!  
Unread 09-02-2013, 13:10
bvisness's Avatar
bvisness bvisness is offline
Programming Mentor, Former Driver
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Woodbury, MN
Posts: 183
bvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of light
Re: One side of Robot not moving (Tank Drive)

I'm referring to the program used to Enable and Disable the robot. You can find it by going to your Start menu and running "FRC Driver Station".
  #5   Spotlight this post!  
Unread 09-02-2013, 13:32
oevelazquez123 oevelazquez123 is offline
Programming Captain
FRC #4549 (Iron Bulls)
Team Role: Programmer
 
Join Date: Feb 2013
Rookie Year: 2012
Location: South St. Paul, MN
Posts: 7
oevelazquez123 is an unknown quantity at this point
Re: One side of Robot not moving (Tank Drive)

I took a picture of the different areas so you can see them
Attached Thumbnails
Click image for larger version

Name:	090213-1224.jpg
Views:	12
Size:	59.1 KB
ID:	13878  Click image for larger version

Name:	090213-1221.jpg
Views:	11
Size:	23.0 KB
ID:	13879  Click image for larger version

Name:	090213-1224(002).jpg
Views:	9
Size:	53.0 KB
ID:	13880  Click image for larger version

Name:	090213-1224(001).jpg
Views:	8
Size:	59.6 KB
ID:	13881  
  #6   Spotlight this post!  
Unread 09-02-2013, 13:46
bvisness's Avatar
bvisness bvisness is offline
Programming Mentor, Former Driver
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Woodbury, MN
Posts: 183
bvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of light
Re: One side of Robot not moving (Tank Drive)

I really don't see anything wrong with your code or your driver station configuration. I would guess that your problem lies in the wiring (yes, I know), or that you have a bad motor controller on one side of the bot.

Sorry I can't really help you any more with this...but it seems that you've done just fine from a code standpoint.
  #7   Spotlight this post!  
Unread 09-02-2013, 14:03
oevelazquez123 oevelazquez123 is offline
Programming Captain
FRC #4549 (Iron Bulls)
Team Role: Programmer
 
Join Date: Feb 2013
Rookie Year: 2012
Location: South St. Paul, MN
Posts: 7
oevelazquez123 is an unknown quantity at this point
Re: One side of Robot not moving (Tank Drive)

We actually switched PWMs to see if that was the problem, they both work, just not at the same time. so the motor controls are fine. We'll recheck the wiring. But thanks for the help
  #8   Spotlight this post!  
Unread 09-02-2013, 14:41
oevelazquez123 oevelazquez123 is offline
Programming Captain
FRC #4549 (Iron Bulls)
Team Role: Programmer
 
Join Date: Feb 2013
Rookie Year: 2012
Location: South St. Paul, MN
Posts: 7
oevelazquez123 is an unknown quantity at this point
Talking Re: One side of Robot not moving (Tank Drive)

Good news!!! We found what the problem was!!! A bad motor control!!!
  #9   Spotlight this post!  
Unread 09-02-2013, 14:59
bvisness's Avatar
bvisness bvisness is offline
Programming Mentor, Former Driver
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Woodbury, MN
Posts: 183
bvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of light
Re: One side of Robot not moving (Tank Drive)

Awesome! Glad to know that you found your problem!
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


All times are GMT -5. The time now is 02:26.

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