View Single Post
  #1   Spotlight this post!  
Unread 17-01-2016, 12:48
gerthworm's Avatar
gerthworm gerthworm is offline
Making the 1's and 0's
FRC #1736 (Robot Casserole)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Peoria, IL
Posts: 61
gerthworm has a spectacular aura aboutgerthworm has a spectacular aura about
Processor load and other data

Hi All!

Our team this year is working on a more-advanced, on-RIO logging system to record robot data during matches. We want to use this to help validate some of our controls algorithms, benchmark drivetrain performance, and help diagnose any issues which show up during a match.

As part of this, we'd like to be able to log things like the roboRIO's processor load, available RAM, network load, etc. Anything we can get our hands on, really. Anyone have any experience getting this information in Java at runtime?

It doesn't look like WPILIB supports it directly, and the handful of Java examples I've found on line seem to cause runtime errors as soon as the code is loaded on (I presume this is because the functionality isn't implemented in the real-time system). I would suspect this info is somewhere since it shows up in the driver station, I'm just not sure how to get at it.

Thanks!
Reply With Quote