View Single Post
  #7   Spotlight this post!  
Unread 20-04-2009, 22:35
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,065
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: "Java, Sun SPOT and the FIRST Robotics Competition"

Quote:
Originally Posted by AustinSchuh View Post
The robot needs to be realtime to be guaranteed to respond quickly to user and sensor input, and Linux is not designed to do that.
So I don't know if you've noticed this or not, but how much realtime stuff did most people's code actually do this year? Answer: most probably did almost nothing. What about interrupts? Nothing again.

Thats what the FPGA is for, it takes care of the nasty latency dependent stuff for us (among other things).

Quote:
It's designed to run on servers and desktops where a bit of latency isn't an issue. There are patches that have been made to make the linux kernel more real time, but they aren't nearly as good as running an actual realtime OS.
I won't disagree, but I don't think the realtime stuff is a huge issue for what most people are doing. If there were no FPGA, then I'd definitely agree. Otherwise... hard to say.

From the experience I've had so far, porting software to vxWorks is really annoying (even nix-like software) because it has random oddities in its networking library (and other libraries too). The biggest advantage I see for linux would be that theres a *ton* of software that would pretty much *just work* without too much modification. Not so with vxWorks.

Then we wouldn't be just talking about java bots, we could have python bots or ruby bots...
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff