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.
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
which one is the driver station tab?
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”.
I took a picture of the different areas so you can see them
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.
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
Good news!!! We found what the problem was!!! A bad motor control!!!
Awesome! Glad to know that you found your problem!