Tuesday May 26, 2009

FIRST Atlanta Championship - Now With More Java!

I attended the 2009 FIRST Championship April 16-18 at the Georgia Dome in Atlanta, GA as part of the Java for FRC announcement. We demoed Java running on several robots, over-the-air debugging, and multi-platform development (Windows, Linux, Mac (and we kept getting asked about Solaris)). We gave a couple of talks with James Gosling about Java for FRC.

IMG_4198 IMG_4108 IMG_4136 IMG_4176

This was my first time at a FIRST Championship and it was pretty overwhelming.

  • 20,000 people
  • Hundreds of FRC, FTC, and FLL teams (and robots)
  • Four simultaneous competitions in the Georgia Dome
  • The World Congress Center filled with pits, practice fields, presentations, and people

But what was really impressive were the teams. It was really clear that FIRST was succeeding at its mission of inspiring students in science and technology. Students didn't just learn that science was cool - they knew that they were cool. These are kids that are not worried about being called geeks, or anything else for that matter:

IMG_1705 IMG_4155

Slideshow

As always, check out FIRST Robotics @ Sun for information on getting involved with FIRST.

FIRST Show-and-Tell at Burlington, MA campus

Last Friday we had three teams, five robots, WPI and FIRST come to visit Sun's Burlington, MA campus. The teams talked about their robots and experiences with FIRST, and mentors explained what mentoring for FIRST was all about.

Two of the robots were Java-powered - team 1519's little "Speed Racer" (look for the Duke on top), and WPI's demo robot ("demo" may stand for demonstration or demolition). Steve Heller arranged a demonstration of torque:

IMG_4563

Check out FIRST Robotics @ Sun for future FIRST show-and-tells on campus, and more information about FIRST.

Next stop - JavaOne!

IMG_4566
IMG_4555 IMG_4554 IMG_4552

Wednesday May 20, 2009

Upcoming FIRST events - JavaOne & Burlington Campus visits

Here are some upcoming events where you can learn more about FIRST, the FIRST Robotics Competition, Java + FIRST, and FIRST @ Sun.

This Friday, for Sun employees, we will have one or two FRC teams visiting the Burlington, MA campus. They will show off their robots  - and you can learn about what FRC means to them, and about mentoring and volunteer opportunities that exist. I'll also be here to talk about Java on the FRC robots, and should have a robot to demo.

Sun has given FIRST a big platform at JavaOne to show off what FIRST is about. It's also a chance to announce that along with Java being available for the robotics competition next year comes a need for experienced Java developers to mentor teams all across the United States and internationally.

There will be live robot demos in the Pavillion, where you can also talk to teams, mentors, and volunteers about FIRST. There will be a Tech Session describing Java for FRC - both how it was ported and how it can be used (TS-4945), a Birds-Of-a-Feather session for existing FIRST participants as well as though interested in learning more (BOF-4953), and perhaps a comment from James Gosling at his closing keynote!

Date

Time

Event
Venue Location
May 22

Noon

FIRST Teams "show-and-tell"
Sun Cafeteria\*\*\* Burlington, MA
Jun 1-4
daily

FIRST booth and Robot Arena
Java Playground - Pavilion JavaOne
Jun 4
2:50pm

Tech Session 4945: FRC-FIRST Robotic Competition
Esplanade 305 JavaOne
Jun 4

6:30pm

BOF-4953: FRC-FIRST Robotic Competition
North Hall 124 JavaOne

Keep in mind that the JavaOne Pavilion access is FREE. Students can get access to all JavaOne events FREE

\*\*\* The event at the Sun campus in Burlington, MA is open to emplyees only.

Monday May 18, 2009

Java for the FIRST Robotics Competition!

On April 16th we announced that Java would be available for the FIRST Robotics Competition. This is joint work between Sun and WPI to port Squawk (an open-source Java virtual machine) to the compactRIO robot control system, as well as the WPILib robotics library from C++ to Java.

We expect this to be a great addition for FRC teams that have some Java programming experience, and will bring not only the combination of power and safety inherent in Java to robotics programming, but also the ecosystem of Java tools, libraries and learning resources.

The exact flavor of Java that will be available is Java ME (Micro Edition), configured with the CLDC and IMP libraries. This is essentially the same flavor of Java that is installed in millions of cell phones (but without the graphic user interface libraries - LCDUI).

In addition the system is based on the libraries and SDK of the Sun SPOT project. It includes over-the-air debugger support as part of integration with the NetBeans and Eclipse IDEs and also includes ant-based command line tools.


The Java system will be in closed alpha and beta releases over the Summer and Fall, and will be ship in the "kit of parts" for the 2010 season (if not earlier).  We have also developed a software-only robot emulator that allows you to learn how to develop robotic software in Java using the Sun SPOT APIs (but doesn't yet include the WPILib APIs).

I'll be blogging more about this, including technical details, the Atlanta Championship, and Java + FIRST @ Java One, but here are some pointers to more information:

Monday Mar 23, 2009

Colorado FIRST Robotics Regional This Weekend

Just a reminder that the Colorado FIRST Robotics Regional competitions are this weekend! This is a free chance to see high school students compete with "gracious professionalism", as well as watch their adult mentors wears funny outfits and tear their remaining hair out.

Just 31 minutes from the Broomfield campus (says Google).

Date Event Venue Location
Mar 28 Colorado FRC Regional University of Denver, Ritchie Center Denver, CO

There are more details at FIRST Robotics @ Sun , especially the Event tips page.

Burlington High School, Team 2876

(Burlington High School, Team 2876, Boston FRC Regional)


Thursday Mar 12, 2009

Silicon Valley FRC Regional This Weekend

Just a reminder that the Silicon Valley FIRST Robotics Regional competitions are this weekend! Don't miss out on a great chance to watch students turn into engineers - oh, and some robots compete also :-)

Date Event Venue Location
Mar 14 Silicon Valley FRC Regional San Jose State U, The Event Center San Jose, CA

There are more details at FIRST Robotics @ Sun , especially the Event tips page.

Thursday Mar 05, 2009

Article on LAST year's FIRST Robotics Regional in Boston

Xconomy.com had a nice write up of last year's FIRST Robotics Regional in Boston. Maybe they'll promote this year's events in Boston, San Diego, and Seattle.

Boston and San Diego FIRST Regionals This Weekend

Just a reminder that the Boston and San Diego FIRST Robotics Regional competitions are this weekend. I'll be visiting the local Sun-related teams in Boston.

Date Event Venue Location
Mar 7 Boston Regional Boston U., Agganis Arena Boston, MA
Mar 7 San Diego Regional San Diego Sports Arena San Diego, CA

There are more details at FIRST Robotics @ Sun , especially the Event tips page.

[Sorry for the repost - going out to the Sun Labs blogroll this time...]

Wednesday Mar 04, 2009

2009 FIRST Competition Game - Lunacy

Re: FIRST Robotics Events Over Next Few Weeks.

If you're thinking about going to a competition, it helps to know the rules for the game (it changes every year).  Here's a 3 minute overview:

Boston and San Diego FIRST Regionals This Weekend

Just a reminder that the Boston and San Diego FIRST Robotics Regional competitions are this weekend. I'll be visiting the local Sun-related teams in Boston...[Read More]

Tuesday Feb 24, 2009

FIRST Robotics Events Over Next Few Weeks


This is the time of year when the FIRST Robotics Competitions start the regional championships. This is where six weeks of hard work by high-school students and their mentors are put to the test - complete with loud music, cheer leading, flashing lights and major enthusiasm.

If you've ever been curious to learn more about these robotics teams - for your kids, or for yourself as a potential volunteer, this is the way to find out. It's fun and it's free!

 Here's a short list of events near major Sun campuses:

Date Event Venue Location
Feb 28 Granite State Regional Verizon Wireless Arena Manchester, NH
Mar 7 Boston Regional Boston U., Agganis Arena Boston, MA
Mar 7 San Diego Regional San Diego Sports Arena San Diego, CA
Mar 14 Silicon Valley Regional San Jose State U, The Event Center San Jose, CA
Mar 28 Colorado Regional University of Denver, Ritchie Center Denver, CO

There are more detail at the FIRST Robotics @ Sun Wiki, especially the Event tips page. You can search for all events at the FIRST website.


Monday Feb 23, 2009

FIRST Robotics @ Sun Wiki

I've started a public Wiki FIRST Robotics @ Sun for Sun employees, alumni, and family to learn and sharing information about getting involved with the various great FIRST robotics organizations:

I can't say enough good things about FIRST - their goal to inspire kids to learn about science and technology meshes really well with Sun's goals and with the engineering mindset of many employees. FIRST is always looking for volunteers to mentor teams and impart that engineering mindset. So check out the wiki!

Friday Feb 06, 2009

GC debugging + surfing + nutrition?

      A year ago I was tracking down a garbage collector bug in Squawk over many days. Like most debugging, you start with a theory of what might be going wrong, figure out what data would prove or disprove the theory, and try to reproduce the bug while getting this critical data.
recycle logo
But now life starts getting interesting. We can't use a debugger on device when the system is this broken. And the system is built on an abstraction of objects (almost everything in Squawk is written in Java), but when memory overwrites can blow away metadata like object lengths and class pointers, you realize that you can't trust everything you see.

This isn't the profound, but ultimately simple, betrayal of the ground during an earthquake. Garbage collection can effect every object in the heap, so garbage collection bugs are more like betrayal in a bad Kung Foo movie:

Sensei-you've-raised-me-from-childhood-but-are-really-the-re-incarnation-of-my-father's-evil-half-twin-(and
killer)---Is-nothing-you've-taught-me-true?!!!


I had spent a few days and several dives down into the system, only to rise to the surface with theories disproved or becoming deeply disoriented. So one morning, I started with a new theory and tools, took a deep breath, and dove into the system again. Suddenly I was struck with a flashback of body surfing as a kid at Hendry's Beach and getting slammed by waves, tumbling around until I didn't know which way was up. cc

After reminiscing for a few minutes, I realized how amazing it was that my metaphoric dives and confusion could invoke such as strong memory. I could feel the oily tar residue of the ocean in my mouth. I could taste the seaweed that always reminded me of ice cream and of the kelp harvesters on the horizon.




I started thinking about how high-level metaphors could trigger such low-level sensory memories, when a sudden small burp reminded me of the fish oil pills and smelly vitamins that I had washed down that morning with a cup of hot coffee. Lesson learned :-)


ps. There was still a GC bug to fix. It turned out that we were removing the stack object (yes, it's an object) for a dying thread from the set of GC roots while the thread was executing the last few steps of thread shutdown. Yikes!

Tuesday Jan 13, 2009

Terminal to Serial Device From VMware Fusion

This describes how to get a terminal in Windows running on VMware Fusion on a Mac to a serial device connected using an adapter (in this case, a Keyspan USB High Speed Serial Adapter). For example how to connect a Mac using VMware to a National Instruments cRIO for the FIRST Robotics Competition...

[Read More]

Monday Jan 12, 2009

Terminal to Serial/USB Devices From a Mac

How to get a terminal window on a Mac to a USB device or a serial device connected using a USB-to-Serial adapter (like a Keyspan) using the screen command. Useful for talking to Sun SPOTs, FIRST Robotics Competition controllers (cRIO), etc...
[Read More]
About

Out of the fog... of bits, bytes, and really small Java Virtual Machines, by Derek White. The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.

Search

Archives
« May 2015
SunMonTueWedThuFriSat
     
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
      
Today