![]() |
CAN Talon SetPulseWidthPosition()
Code:
SetPulseWidthPosition()We are using CAN Talon's with the CTRE Magnetic Encoder. We are trying to establish the zero position of the encoder so that it is consistent between two encoder of these encoders. We are trying Code:
_talon->SetPulseWidthPosition(_talon->GetPulseWidthPosition() - kZeroOffset);We could be approaching this wrong as the manual suggests using the absolute position to establish a zero for the relative position. We haven't been able to work out that series of calls. Even just calling Code:
_talon->SetPulseWidthPosition(0); |
| All times are GMT -5. The time now is 09:21 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi