|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
I appreciate all the help. I am a mechanical mentor on the team. I can help/show these guys dream up and build about anything, but when it comes to the programming I am out of my wheelhouse.
Please keep the tips coming |
|
#2
|
||||
|
||||
|
Re: Measuring RPM
Oh hey I almost forget, so there is a closed-loop speed example in LV for CAN Talon SRX.
Open LV, Menu bar: Help => Find Examples... Double clock on this tree node... FRC Robotics => roboRIO => CAN =>CAN Talon Speed Control Encoder.lvproj Example probably should be updated to select the CTRE Mag Encoder. Relative would be better since its just velocity (not position). Or just to quickly get started set the Encoder Codes Per Revolution to 1024 and leave Quadrature selected. This example also does not take advantage of this year's unit-scaling features in the API, so scaling to RPMis done manually, but again I think it will help get you going. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|