|
Re: How to Log Message to FRC DB?
The errors that occur on the robot and are not explicitly handled will automatically be logged and displayed in the messages tab of the DS. They are sent to the Dashboard, but not displayed by default. If you want to customize the dashboard, I could help find the right data to pull out.
Also, for afterwards, you can see the errors by opening the log files in the log file viewer. Click on the gear above the messages and Open in the log file viewer. You can view on the graph or click to the list of messages. The filter at the top initially hides some stuff and you can choose how much info to show.
Finally, there is also a console built into the DS this year, and it displays only errors and warnings and textual stuff in a bigger window.
Greg McKaskle
|