|
Re: motor controller error
I see your problem.
You are opening and closing the motor in teleop.vi
This code does not contain the main loop; you must open the motor in Begin.vi, save it as a refnum, then get the refnum in Teleop.vi, use it, and leave it. If you want to be nice and close it, then get the refnum and close it in Finish.vi
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor
"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
|