|
Braking with victors
2 pretty basic questions for you guys:
1.How have you managed braking so far with victors? We only have 4 jags (set up with driving) and using victors for an arm-type apparatus. We'd like to set it up so that we can stop the arm in different positions (using encoders to measure the distance) but braking with victors seems to be ineffective. Nothing happens in term of stopping the motors. The just stop outputting, and our arm falls down. Id really like some way to hold it still in one position like brakes in the jags. Is there a known way to do this>
2.For some reason initializing a victor and running victor.set(speed) does nothing for us, but initializing them as a RobotDrive works. This seems like there is something different about RobotDrive, because we use the same inputs on both. Whats the best way to use victors in the wpilibj libraries? Or do you make a class for it?
|