View Single Post
  #4   Spotlight this post!  
Unread 14-02-2012, 17:57
Patrickwhite's Avatar
Patrickwhite Patrickwhite is offline
May the North be with you
FRC #0610 (The Coyotes)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Toronto
Posts: 88
Patrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of light
Re: Outputting to Smart Dashboard

Do you have the SmartDashboard running? The SmartDashboard is not the default dashboard or driver station. You can get it here. It's intended to be a replacement for the default dashboard, and easier to customize.

The SmartDashboard displays data based on the key of the data. The first parameter of putData is the key, the second is the data. If I wrote putData("Gyro Heading", gyro.getAngle());, a field would be created called "Gyro Heading" with the current value of the gyro. Subsequent calls to putData with the key "Gyro Heading" would update the same field instead of creating a new one.

The 123 was just a sample value to send.
__________________
while(!going.isTough());
tough.exit();

What will we do tonight, Warfa?
The same thing we do every night, Patrick. Sit and wait for Electrical.
Reply With Quote