View Single Post
  Spotlight this post!  
Unread 10-02-2005, 10:19
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
Re: Dashboard for .NET

I've received a few questions about extending this application, so I added a sample project. The msi installer is available here:

http://members.cox.net/seanwitte/das...ewersample.msi

The installation folder will include the latest version of everything, plus a subfolder with a VB.NET project containing the source for the tab labeled "Custom View". You sould be able to edit the content of CustomView.vb (a user control inheriting from Team116.Dashboard.UI.DashboardView) to suit your needs. Run dashboard.exe in the installation folder to start the application.

I don't use VB.NET, but it seems like the default namespace always matches the assembly name. So a class named foo in an assembly named bar would be bar.foo. The Custom View includes a field map showing the robot's location and the control showing the CMU camera tracking data.

You can change the image of the robot by setting RobotImagePath property on the Field class in CustomView.vb. The scale is roughly 1.1 pixel per inch and the pixel in the upper left-hand corner will be used as the transparent color.

Send me an email at sean.witte@cox.net if you're using this and want to be notified when an update is ready. I will be finishing it up this weekend.

Screen shot of the sample view showing the CMUCam data and field map:

Last edited by seanwitte : 10-02-2005 at 13:32.