View Single Post
  #5   Spotlight this post!  
Unread 08-02-2015, 12:30
orbobigge orbobigge is offline
Head Programmer/President
AKA: Matthew
FRC #3284 (laser)
Team Role: Programmer
 
Join Date: Feb 2015
Rookie Year: 2011
Location: Camdenton
Posts: 7
orbobigge is an unknown quantity at this point
Re: SmartDashboard Implementation in RobotMain Test() method.

Quote:
Originally Posted by Joe Ross View Post
You could override the startCompetition method of IterativeRobot to not set LiveWindow Enabled to true.
Hey Joe,

Thanks for your suggestion. It lead us disabling the LiveWindow in the Test() method itself. Here is our code:

In our constructor:
Code:
    // Get the instance of the Live Window.
    m_pLiveWindow = LiveWindow::GetInstance();
In the Test() method:
Code:
    // Disable the LiveWindow in Test mode.
    // This allows us to use the standard SmartDashboard calls in Test().
    m_pLiveWindow->SetEnabled(false);
If anyone else has this issue, please let us know if we can help.

Thanks again,
LASER 3284 Programming Team
Reply With Quote