View Single Post
  #1   Spotlight this post!  
Unread 30-01-2011, 11:56
sircedric4's Avatar
sircedric4 sircedric4 is offline
Registered User
AKA: Darren
no team (The SS Prometheus)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Lousiana
Posts: 245
sircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond repute
Need SmartDashboard Help

I really like the looks and simplicity of the SmartDashboard listed in the WPI user's guide but I can't figure out how to get it setup and working.

How do I get the dashboard program to load on the Classmate in place of the Labview default. The readme for SmartDashboard does not describe how to setup it up on the Classmate.

Simple step by step instructions would be best. I tried simply deleteing the Dashboard.exe within the FRC Dashboard folder and replacing it with the Smartdashboard.jar file renamed to Dashboard.exe but it did not load when I brought up the Driver Station.

Once I have it working on the Classmate, we are using C++, the Users Guide only shows java code for example. How would I use it in C++?

I tried:
Code:
class IterativeDemo : public IterativeRobot
{
	SmartDashboard *dash;

public:
	IterativeDemo(void)	{
		dash = new SmartDashboard();
             }


	void DisabledInit(void) {
		dash->init();
              }

	void DisabledPeriodic(void)  {
			dash->log(ElevatorCommand,"Elevator Command");
             }
but I got this error about the first declaration: "C:/WindRiver/workspace/Team2992_2011_Code_4/IterativeDemo.cpp:254: error: no matching function for call to `SmartDashboard::SmartDashboard()'"

so I need help getting it working codewise too. For the SmartDashboard folks, a quick "Getting Started" guide with the assumption that we have never changed dashboards before would be very valuable.
Reply With Quote