Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   One side of Robot not moving (Tank Drive) (http://www.chiefdelphi.com/forums/showthread.php?t=113105)

oevelazquez123 09-02-2013 12:28

One side of Robot not moving (Tank Drive)
 
4 Attachment(s)
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. :confused:

bvisness 09-02-2013 12:37

Re: One side of Robot not moving (Tank Drive)
 
1 Attachment(s)
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

oevelazquez123 09-02-2013 13:02

Re: One side of Robot not moving (Tank Drive)
 
which one is the driver station tab?

bvisness 09-02-2013 13:10

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

oevelazquez123 09-02-2013 13:32

Re: One side of Robot not moving (Tank Drive)
 
4 Attachment(s)
I took a picture of the different areas so you can see them

bvisness 09-02-2013 13:46

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.

oevelazquez123 09-02-2013 14:03

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

oevelazquez123 09-02-2013 14:41

Re: One side of Robot not moving (Tank Drive)
 
:D Good news!!! We found what the problem was!!! A bad motor control!!! :D

bvisness 09-02-2013 14:59

Re: One side of Robot not moving (Tank Drive)
 
Awesome! Glad to know that you found your problem!


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

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