WCR-FRC-2016 / 2017rep

1 stars 0 forks source link

Climb motors #19

Open alifaraji03 opened 7 years ago

alifaraji03 commented 7 years ago

We need to have a control that turns on a motor to a slow speed (low voltage) and waits until the current in the Talon increases (sees a load when the rope is attached to the robot). Then it increases voltage to full power to pull the robot up. May want to start out with a manual control?

haywoodsloan commented 7 years ago

Began creating VI and placed in periodic task. Needs to be tested to confirm/adjust low voltage level and current threshold. Also, must confirm the correct direction and CAN address of the motor before testing. The motor will be ratcheted, so running backwards can be dangerous. Added safety shut off code if motor is still stuck when full voltage (possibly caused by ratchet set to wrong direction).

alifaraji03 commented 7 years ago

Doesn't reset to slow speed if user stops pressing the button. Needs to be updated with shift registers and retest.