|
Re: ENcoder speed from -1 to +1
Do you want the speed you are sending to the motor? If so you can use the Get() method from your motor to record it. If you want the current speed of your wheel use the GetRate() method from your encoder. Be sure to use the pulse number of your encoder and the circumference of your wheel to find the distance per pulse for each encoder.
__________________
4 year 2011 - 2014 FRC team 308 member, Lead Programmer - C++ / LabVIEW
3 year 2011, 2013, 2014 OCCRA member, Co-Captain OCCRA team 308 - OCCRA Engineering Excellence - Waterford Kettering 2013
- Innovation in Control - 2011
- Quality award- Northville 2012
- Engineering Excellence- Howell 2014
- Innovation in Controls- Livonia 2014
|