|
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
|