Quote:
Originally Posted by Alan Anderson
You didn't include the Global2.vi file in your project, but I can guess what it contains.
It looks like you have copied an example (Limit Switch?) into your code without understanding what it does. The While loops you have added to Teleop will break the robot program completely. They're going to have to come out. It would probably be best to remove everything having to do with those digital inputs, then see if the robot works otherwise.
Tell us what you want the robot to do with those switch inputs. We'll help you learn how to write the program to do it.
|
We used the default roborio project to test with and 1 motor spun. We have a splitter coming from PWM 0 and 1 going to 2 victors on each side.
We used a Arduino to send the PWM signal to the motor controllers while they are on the robot and not even 1 out of our 5 Motor controllers worked. Then we took them off to try and switch them and we tested one of the ones that didn't work on the bot but it worked off the bot. We have only tested that one so we don't know if any of the other work. I will test them after school today.
I switched the PWM splitter from 1 to 0 in order to test one of the other motor controllers on the other side and nothing happened even though previously we had 1 motor working with the same code.
I don't even know what to think anymore can someone please help.