View Single Post
  #2   Spotlight this post!  
Unread 04-02-2016, 12:21
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: How to Write From SmartDashboard

You have to first put the value to the SmartDashboard before you can get its updated value. So, you call SmartDashboard.putNumber("this is a number", some_default_value), which causes the field to appear on the SmartDashboard. Then you can edit this number in the SmartDashboard GUI, and when you call SmartDashboard.getNumber("this is a number"), it will return the updated value.
__________________



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