Go to Post If you are playing foozball and your ball bounces back out of the goal, do you expect the table's manufacturer to fix it? No - you groan and keep playing! Nothing's different here. Like Dave said, it's part of the challenge of playing the game. - petek [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 01-30-2011, 11:56 AM
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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:20 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi