![]() |
logging DS messages
1 Attachment(s)
Last year I had some trouble in a couple of matches with the robot not having full communication in a couple of matches, and experienced no FMS data to help in diagnostics or in determining the error. (In some instances it was blamed on the code on the robot)
So one of my plans for this year was to create something to log the DS messages when the mode changes (from disabled to auto to teleop), and log the state when a message is not received (also useful in determining the frequency of messages received, and what else was happening when those messages were not received) So here it is. I haven't fully tested it on the robot, but I've tested the storing part on my computer, so unless I'm making assumptions about the values of the DS message when there's a timeout, it will work. (or if the watchdog refnum name is something other than "watchdog") "To log or not to log" is the main VI to be placed in that loop in Robot Main; it should be wired up to the "Robot Mode" VI, as demonstrated in the picture below: ![]() |
| All times are GMT -5. The time now is 02:01. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi