View Single Post
  #5   Spotlight this post!  
Unread 23-02-2016, 15:56
TheMechanic40 TheMechanic40 is offline
Registered User
FRC #3506 (YETI Robotics)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: North Carolina
Posts: 31
TheMechanic40 is an unknown quantity at this point
Re: Difference between setPosition() and setEncPosition() for can talon encoders

Yes, one of the things about it that confuses me is that the software manual says that setPosition(0) will zero a quadrature encoder (which we're using), but when we call that method the value returned from getEncPosition() doesn't change and the manual doesn't even mention setEncPosition(), but it exists, although it also doesn't change the value of getEncPosition().

Last edited by TheMechanic40 : 23-02-2016 at 15:57. Reason: Removed quote
Reply With Quote