View Single Post
  #1   Spotlight this post!  
Unread 10-12-2015, 23:34
FRC Team CC FRC Team CC is offline
Registered User
FRC #6560 (Charging Champions)
 
Join Date: Sep 2014
Rookie Year: 2012
Location: Southern California
Posts: 107
FRC Team CC is an unknown quantity at this point
Encoders not getting reset after Autonomous for Teleop.

Hi,
We are using the encoder cables connected to the Neverest motors and for the autonomous we are setting the DC Controller to RUN_TO_POSITION mode. We call RESET_ENCODERS at the beginning and the end of the autonomous and it seems to fairly reliable. The main issue is when we switch to the Teleop, the drive motors are messed up and they just rotate in place with the joystick. Seems like the encoders did not reset. So we tried to set the drive motor DC controllers in Teleop to run without encoders and it still does not make a difference. If we power cycle the robot after running Autonomous, Teleop drive controls have no problem. Are we missing any other setting? How do we reset the encoders after Autonomous without power cycling the robot.

Thanks
Charging Champions
Team 8660
__________________
The Charging Champions
FTC Team #8660
Facebook Page: https://www.facebook.com/chargingchampions
Follow us on Twitter: @FtcTeamCC
Google Plus: https://plus.google.com/112552147224383900922/posts
Youtube channel: https://www.youtube.com/channel/UCop...G3zsvQKCXF4ESQ
Blog: http://chargingchampionsblog.blogspot.com/