Skip to content

Instantly share code, notes, and snippets.

@rchowe
Created October 3, 2010 16:03
Show Gist options
  • Save rchowe/608688 to your computer and use it in GitHub Desktop.
Save rchowe/608688 to your computer and use it in GitHub Desktop.
#include "WPILib.h"
#include "nr/diag/diagnostics_center.h"
#include "nr/diag/observable_wpi.h"
Jaguar motorA( 1 );
nr::diag::diagnostics_center& diagnostics =
nr::diag::diagnostics_center::get_shared_instance();
diagnostics.register_device( motorA );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment