|
Re: Motor control isnt working
If you are using exactly the motor control example it should work.
If you are trying to integrate it into your own robot project, you are missing the instructions for how to take the examples and put them in your code.
Things to the left of the example's while loop need to go in the Begin vi. Things inside the loop go in Teleop. Things to the right of the loop go in Finish. To communicate the reference that Open provides, use a Motor RefNum Set in Begin with a name you choose -- see the other things in Begin for how that works -- and use a Motor RefNum Get in both Teleop and Finish.
|