Very Basic: Get a program running on the cRio that will show video on Classmat

We are attempting to learn how to get a program running on the cRio that can send data (especially video feed) to a dashboard. We are able to get template Labview programs that drive the robot running, but we don’t have any idea how to use a dashboard. How would we go about that? The camera works fine when connected directly to the Classmate and also when connected to the router (as long as the ip addresses are on the same subnet.) We have successfully used the Setup Axis Camera utility, and we’ve now plugged the camera into port 2 on the cRio.

So, very very basic please. How can we get a program on the cRio and also get live data on a dashboard running on the Classmate?

Thanks!
Isaac
for 3018 Team Rocket

First check that you have the latest default Dashboard program.
Check the pictures here to see if you have the correct one.

If you already downloaded the default Robot Project with some of your changes, then the camera code will already be in it.

Then make sure your camera has an FRC account (username: FRC, password: FRC).

The camera then plugs into port 2 on the cRIO with a crossover cable (pink in the KOP).

The ring around the camera lens should light up green after a minute or two.

Yes, we have the updated dashboard on the classmate. The camera lights up when we give it power, and it’s connected to port 2 on the cRio using last years crossover cable, which is orange (I’ve checked the wire to pin arrangement, it’s definetly a crossover cable.). The camera has an ip address of 192.168.0.90, and has a “root”, password “admin”, and an “FRC”, password “FRC” account. So when we run the default robot project, we open the Robot Main.vi and click run continuously. The program deploys, and we can drive the robot. Where should we see the camera image? Would it show up in the front panel of the Robot Main.vi? How can we actually use the dashboard. Do we login as driver after the program is running on the robot?

While the code is being developed and running from the development tool, do not log out or fast user switch. Instead, use the Start menu to launch the Driver Station application – or use separate laptops for development and driver station.

Greg McKaskle

At the moment we are having a similar problem. Our developer laptop is running on the team network with a dhcp assigned address of 10.2.79.10. The classmate has the static IP of 10.2.79.5. We ran the driver station update tool on both computers (from the developer account on the classmate). We then ran the dashboard on the developer computer and ran the classmate driver account. The two dashboards are different. We have the new dashboard Mark posted pictures of on the developer computer and a dashboard that is different than both of Mark’s pictures on the classmate. :ahh: So the camera is not working on the classmate pc but then i went into the driverstation and forwarded the dashboard to the remote dashboard at 10.2.79.10 and it works on the devoper computer fine. :confused: any help?

edit: SOLVED! okay so what we did was look for the driverstation and dashboard executables on both computers and discovered that the dashboard.exe file on the classmate was not updated even though the driverstation.exe was. no idea why though. what we then did was copy dashboard.exe and dashboard.ini from the developer computer to the classmate computer overwriting the previous dashboard files. it works now. I don’t know if this will help the first team that posted but I suggest you guys check the dates on the dashboard.exe and driverstation.exe files

Where in the start menu is the Driver Station application you’re talking about? (or on the hard drive, we could just run the .exe if there isn’t a start menu shortcut) And we are going to start using a second laptop for dev, but we don’t have it yet, so everything is happening on the Classmate.

We have entries in the start menu, and also:

Start => All Programs => FRC Dashboard
Start => All Programs => FRC Driver Station

If all else fails, the .exe files are in:

c:\Program Files\FRC Dashboard
c:\Program Files\FRC Driver Station\