Log in

View Full Version : Dashboard Recorder and Forwarder


EHaskins
10-03-2010, 22:11
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/releases/view/41737

slavik262
11-03-2010, 07:22
What are you doing to forward video, since it requires an explicit TCP connection?

EHaskins
11-03-2010, 07:31
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.

Greg McKaskle
13-03-2010, 10:21
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