My team posted live feed to the driver station using these bits of code:
Code:
#include "DriverStation.h"
#include "NetworkTables/NetworkTable.h"
UserDisplay -> Clear();
UserDisplay -> Printf(DriverStationLCD::kUser_Line3, 1, "Shooter Counter %d", (int)ShooterCounter));
UserDisplay -> UpdateLCD();
UserDisplay -> Clear();
UserDisplay -> UpdateLCD();
SmartDashboard::PutNumber("Shooter Delay", ShooterCounter);
We might have cleared and updated the LCD a bit to much. We used this to see the delay for shooting our ball. This was code was used in updating out 2012 robot. The delay was for the time it took our motors to get up to speed.