Go to Post Many software problems can be solved by plugging wires in. - Eric Finn [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 10-03-2010, 22:11
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Dashboard Recorder and Forwarder

This tool propably isn't ready for human use yet, but I want to get it out for people to try to use this week.

This tool allows you to record and playback dashboard data, and also forward that data to one or more machines.

What it is:
A small application which replaces the dashboard on the classmate. It forwards the data to one or more other devices, and records the data, including video.

Requirements
.net 3.5 on classmate
USB network adapter, connected to classmate
second computer for dashboard viewing
IP addresses as specified below.

Setup:
On the classmate navigate to "C:\Program Files\FRC Dashboard\".
Make a copy of all files in this directory.
Extract the contents of the attached ZIP to that directory.

Set the IP of the USB NIC on the Clasmate to 172.0.0.1, Subnet 255.255.255.0.
Set the IP of the second computer to 172.0.0.2, Subnet 255.255.255.0.

Configuration:
In the folder mentioned above you will now have a file "ForwardingGraph.xaml". Open it a text editor, and find the only instance the "10.0.0.2" replace it with you robot's IP address. It will be inthe form of 10.xx.yy.2.

Dashboard Modification:
In order to get a camera feed from the robot the following modification must be made to the dashboard.
In the block diagram of Dashboard Main.vi, within the camera processing loop, locate the block which says "Robot IP Address". replace that with a constant equal to "172.0.0.1", the DS's USB NIC's IP. Copy this modified dashboard to the Classmate as describde in other threads.

Playback
The playback mode is access by running dashboard.exe with the "/player" flag. There is a batch file included to start player mode. It will prompt for the location of the data.frcreplay file. The recording location is "C:\DashboardRecordings".


Where to get it
http://frc1103dashboard.codeplex.com...ses/view/41737
Attached Thumbnails
Click image for larger version

Name:	Screenshot.jpg
Views:	53
Size:	99.1 KB
ID:	8878  
__________________
Eric Haskins KC9JVH

Last edited by EHaskins : 10-03-2010 at 22:15.
  #2   Spotlight this post!  
Unread 11-03-2010, 07:22
slavik262's Avatar
slavik262 slavik262 is offline
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
Re: Dashboard Recorder and Forwarder

What are you doing to forward video, since it requires an explicit TCP connection?
__________________
  #3   Spotlight this post!  
Unread 11-03-2010, 07:31
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: Dashboard Recorder and Forwarder

I implemented a camera server which uses the same protocol as the robot. The proxy connects to the robot, the dashboard connects to the proxy, and everything just works. The only change needed on the dashboard is to point the camera code at a differerent IP.

Track me down today at the Wisconsin Regional, in 1103's pit, if you want more info.
__________________
Eric Haskins KC9JVH
  #4   Spotlight this post!  
Unread 13-03-2010, 10:21
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,753
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Dashboard Recorder and Forwarder

It is also possible to modify an existing dashboard to use the Classmate screen for some information, AND forward the information to a second laptop. This feature was considered for the default code, but it was decided to leave it for teams. Good job with the forwarder.

Greg McKaskle
Closed Thread


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
RS 232 and Dashboard Jake M Programming 6 06-03-2007 17:52
Set the TiVo/DVD Recorder, Sweet Engineering Special on Discovery 4/12 Joe Matt Chit-Chat 0 11-04-2006 20:33
Labview Dashboard and updated IFI dashboard spec Joe Ross LabView and Data Acquisition 1 04-04-2006 02:04
C++ and Dashboard Matt_Gray Programming 6 04-06-2002 00:50
Dashboard Recorder Jim Zondag Technical Discussion 2 11-11-2001 18:13


All times are GMT -5. The time now is 23:21.

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