View Single Post
  #11   Spotlight this post!  
Unread 29-03-2015, 15:48
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: PID & One Second Delay Between Auto and TeleOp

Quote:
Originally Posted by WillNess View Post
- Is there any way to do something only if the robot is in practice mode or playing an actual match?
You could use:
Code:
DriverStation.getInstance().isFMSAttached()
to detect whether the robot is connected to the field, but I don't think this works for practice mode.
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
Reply With Quote