View Single Post
  #13   Spotlight this post!  
Unread 03-05-2016, 11:03
JesseK's Avatar
JesseK JesseK is offline
Expert Flybot Crasher
FRC #1885 (ILITE)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2005
Location: Reston, VA
Posts: 3,622
JesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond repute
Re: Make the RoboRIO serve HTML like the NI WebDash

Quote:
Originally Posted by apache8080 View Post
254 also built a web server on the RoboRio in java that serves javascript and html pages for a web based dashboard. Here is the link to their code.
Unfortunately, they never got this working on an official field. We couldn't get the robot to connect to our Node server on the driver's station laptop while on the field either, even with static IP's.

In drilling down into what happens with FIRST HQ's guys, the match pre-start stuff completely re-configures the network at the router when a the field goes from one match to the next. If a team plugs their laptop into the driver's station before field pre-start, they have connected to the network of the prior team. With static IP's and a proper netmask this is solved in theory, but we couldn't get it working. So NetworkTables it was.

I'm going to work on a direct Java implementation for NetworkTables. There is absolutely no need for JNI to be involved, and a direct Java implementation would resolve some of the shared resource issues that it looks like ntcore specifically designs for. The better reason though, is that I want runtime control over the data rate for certain sensors so we can collect better telemetry from a match.
__________________

Drive Coach, 1885 (2007-present)
CAD Library Updated 5/1/16 - 2016 Curie/Carver Industrial Design Winner
GitHub

Last edited by JesseK : 03-05-2016 at 11:09.
Reply With Quote