Go to Post If you can spare 2 minutes (And I know you can, because the season’s over and you’re STILL on Chief Delphi) - LVMastery [more]
Home
Go Back   Chief Delphi > ChiefDelphi.com Website > Extra Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-02-2005, 22:12
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
White Paper Discuss: .NET Composite Dashboard Viewer

Thread created automatically to discuss a document in the White Papers.

.NET Composite Dashboard Viewer by seanwitte

Last edited by Brandon Martus : 21-03-2005 at 11:05.
Reply With Quote
  #2   Spotlight this post!  
Unread 17-02-2005, 22:57
lynca's Avatar
lynca lynca is offline
Andrew Lynch
FRC #2587 (DiscoBots)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2001
Location: Houston, TX
Posts: 1,611
lynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond repute
Send a message via AIM to lynca
Re: White Paper Discuss: .NET Composite Dashboard Viewer

This program provides first teams with a great GUI camera output along with field waypoint planner. When debugging autonomous, this is invaluable. All teams should consider running this program. The only problem is the .NET requirement. If it can be ported, there would be much more input from other teams.
It is also a great application in C# which seems to be the next generation programming language (mainly in 32-bit PC computers - not embedded).

This challenges IFI to make a more configurable dashboard in which users can control the packet structure to input a variety of sensors and raw camera feeds.
Reply With Quote
  #3   Spotlight this post!  
Unread 18-02-2005, 16:12
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: White Paper Discuss: .NET Composite Dashboard Viewer

Here is the first known bug:

The bits in LED BYTE 1 for the relays are reversed. It was an honest mistake, reading from top to bottom the PWM bits are fwd-rev-fwd-rev, but the relays are rev-fwd-rev-fwd. Anyways:

RLY1_Forward = RLY1_Reverse
RLY1_Reverse = RLY1_Forward
RLY2_Forward = RLY1_Reverse
RLY2_Reverse = RLY2_Forward

This mapping is in the assembly named DashboardTypeLib.dll in the \bin folder. You can download a patch for the dll below. Right-click and select Save Target As. Save the file in the \bin folder of the install directory. Replacing this DLL will correct the error.

Its not obvious I guess, but the way the application is structured you can use any of the CLR languages to write your custom views (C++, C#, VB.NET, or J#). If you run Windows Update regularly you probably already have the CLR installed.

DashboardTypeLib.dll

I also forgot to credit Dave Lavery with the cool field graphic used in the Field control in DashboardControls.dll.

Last edited by seanwitte : 18-02-2005 at 17:34.
Reply With Quote
  #4   Spotlight this post!  
Unread 18-02-2005, 16:46
Francis-134's Avatar
Francis-134 Francis-134 is offline
Lifer
FRC #0190 (Gompei and the Herd)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Worcester, MA
Posts: 597
Francis-134 has a reputation beyond reputeFrancis-134 has a reputation beyond reputeFrancis-134 has a reputation beyond reputeFrancis-134 has a reputation beyond reputeFrancis-134 has a reputation beyond reputeFrancis-134 has a reputation beyond reputeFrancis-134 has a reputation beyond reputeFrancis-134 has a reputation beyond reputeFrancis-134 has a reputation beyond reputeFrancis-134 has a reputation beyond reputeFrancis-134 has a reputation beyond repute
Re: White Paper Discuss: .NET Composite Dashboard Viewer

So for all of us non-programmers, would this be legal to use in competition as-is, or would it require some modification?
__________________

Email | Twitter | Facebook | YouTube | Twitch
iTunes Podcast | Snapchat

A proud alumnus of teams 134 and 40 || Mentor of Team 190 || Director of Fun for BattleCry@WPI
Reply With Quote
  #5   Spotlight this post!  
Unread 18-02-2005, 17:32
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: White Paper Discuss: .NET Composite Dashboard Viewer

Quote:
Originally Posted by Francis-134
So for all of us non-programmers, would this be legal to use in competition as-is, or would it require some modification?
You can use it as-is, although there isn't much to gain over the IFI dashboard viewer. If you use the CMUCam you can display the current information using the user feedback bytes. The data from the cam struct needs to be copied to the bytes as follows:

User_Byte1 = cam.x;
User_Byte2 = cam.y;
User_Byte3 = cam.x1;
User_Byte4 = cam.y1;
User_Byte5 = cam.x2;
User_Byte6 = cam.y2;
Reply With Quote
  #6   Spotlight this post!  
Unread 25-02-2005, 09:49
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: White Paper Discuss: .NET Composite Dashboard Viewer

Here is a sample screenshot of the dashboard viewer showing the custom controls I wrote to display the robot's position and the CMU Cam tracking data: http://www.chiefdelphi.com/forums/sh...15&postcount=6.

I also have the PWM slider and a simple LED control. The PWM and LED controls can be customized with any color combination you want.

If you would like a custom dashboard view for your 2005 robot I would be willing to write one for a small fee using any combination of these existing controls. The sprite for the robot on the field map can be changed if you provide the image. Send me an email at sean.witte@cox.net if you're interested.
Reply With Quote
  #7   Spotlight this post!  
Unread 21-03-2005, 12:23
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: White Paper Discuss: .NET Composite Dashboard Viewer

If you're using this sofware you might want to download and install the version uploaded this morning. There are a few small improvements as well as a new view for automatically generating an autonomous function.

If you've made changes to the sample views you should save a copy of the source files before you uninstall and reinstall the application.
Reply With Quote
  #8   Spotlight this post!  
Unread 05-04-2005, 23:22
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: White Paper Discuss: .NET Composite Dashboard Viewer

Has anyone tried using the ReplayRC view that is included with this application? It allows you to select a set of PWM outputs to record and generates a C source file to mimic motion captured while under human control. You just hit the capture button, drive around, and hit the stop button. The output is a C source file that you copy into your project and recompile. This has been done before so it wasn't a new idea.

Since the data packets are interlaced its only able to catch every third update of the PWMs. That means it probably will not match the driver's inputs exactly, but should be pretty close. The practice robot was in pieces tonight when I went to test so I'm curious whether anyone has used it and how well it worked.
Reply With Quote
  #9   Spotlight this post!  
Unread 06-04-2005, 00:15
lynca's Avatar
lynca lynca is offline
Andrew Lynch
FRC #2587 (DiscoBots)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2001
Location: Houston, TX
Posts: 1,611
lynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond repute
Send a message via AIM to lynca
Re: White Paper Discuss: .NET Composite Dashboard Viewer

Fantastic addition, have not yet tried this, but it is definitely on the todo list. I think simulation of a standard robot chassis in something like Player/Stage would be the next logical step toward testing the theory.

I have been working with Linux Robots and higher level navigation for a few months and Player/Stage or OpenSim (deeper) will be a great assistance to teams who are not able to touch a real robot. Mainly because it integrates off the shelf sensors and hardware into a standard package package anyone can pick up an operate. For the best introduction to the player stage world, I suggest running the Pyro LiveCD. Sorry about the off topic,

Sean, you have developed a great resource for the FIRST community, my team has been very impressed!
Reply With Quote
Reply


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
White Paper Discuss: 2004 Visual Basic 6 Dashboard Control CD47-Bot Extra Discussion 2 01-02-2005 01:56
White Paper Discuss: 2004 .NET dashboard control dll CD47-Bot Extra Discussion 7 13-01-2005 17:32
White Paper Discuss: Comparison Paper for Teacher Involvement CD47-Bot Extra Discussion 1 13-11-2004 00:09
White Paper Discuss: Team 810's 2004 Dashboard Backend CD47-Bot Extra Discussion 1 07-03-2004 10:32
White Paper Discuss: VB .NET Dashreader custom control source CD47-Bot Extra Discussion 2 19-01-2003 19:32


All times are GMT -5. The time now is 08:26.

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