View Single Post
  #1   Spotlight this post!  
Unread 03-24-2016, 09:19 AM
rwodonnell rwodonnell is offline
Registered User
AKA: Rick O'Donnell
FRC #2876 (Devilbotz)
Team Role: Mentor
 
Join Date: Feb 2013
Rookie Year: 2011
Location: Burlington, MA, USA
Posts: 52
rwodonnell is a splendid one to beholdrwodonnell is a splendid one to beholdrwodonnell is a splendid one to beholdrwodonnell is a splendid one to beholdrwodonnell is a splendid one to beholdrwodonnell is a splendid one to beholdrwodonnell is a splendid one to behold
Command to turn to angle

Does anyone have some sample code that turns to a specified angle, implemented as a command? We have done it in Robot.java but our first attempt to do it as a command did not seem to work. Specifically, it was not possible to drive afterward - it just continued to want to face in the direction we gave it. My assumption is that the command is not really ending, or somehow the PID is still actively trying to correct the angle, but at this point I think I am too tired to help the students debug any further! Links are to different github projects if you care to see the code.
Reply With Quote