If you open up the motor on PWM0, do you see the same error? If not, do you see it on PWM1? Once you find a single PWM port that’s causing the problem, I’d try moving the PWM to PWM2. With that, you can open a single motor rather than two at once. If you get an error there, I’d want to see what happens if you replace the motor initialization code with just the Open Motor VI found in WPI Robotics Library->Actuators->Motor Controller Is that a safe assumption? If so, what PWMs are you connected to and what types of controllers? I wouldn’t be shocked to hear you checked that, but for completeness we’d want to see that. I’m making the assumption you don’t change anything with the sample project. If you’re using a different motor controller or different PWM ports, I wouldn’t be surprised to see that error. With the default project, you’ll create a connection to a pair of Talon SR motor controllers on PWM0 and PWM1.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |