|
Re: Combining RC and user motor control
So you were using the subroutine Generate_Pwms() to drive the motor outputs? For further clarification, does that allow you to drive the motors while the RC is off and the system is not in autonomous mode? Where do I find the Generate_Pwms() routine?
I posted the same question on the VEX forums. The people there had another solution using UserAPI.h out of the Easy C files. I'm not entirely clear about what they are doing, but it may be that they are simply switching between two different modes of control with the RC on the whole time.
Andy
|