How To: Use Webots 5.7.2 to play with a virtual Nao

Cyberbotics has released a new version of their Webots software which allows anyone to play with the Nao prototype. In version 5.7.2, the Nao model comes bundled in the Webots/projects/contests/nao_robocup folder, and is accessible to anyone. The Aldebaran library wrappers to the Webots function calls, however, are not available to the public, since these were released to the SPL robocup teams only.

Here is a simple guide to get started playing with the virtual robot:

  1. Download the Webots 5.7.2 package from here, and install it.
  2. Open Webots, and skip the intro demo. Choose Open from the file menu, and navigate to Webots/projects/contests/nao_robocup/worlds/ and open one of the world files (e.g. nao1.wbt).
  3. Navigate to Webots/projects/contests/nao_robocup/controllers/nao_soccer_player_red/ and open the C file (you can open it in Webots or in your favorite editor). Make some changes, and save them. Type ‘make’ in the terminal (in that directory), and reload the world from within Webots.

That’s it! The controller file in nao_soccer_player_red/ needs to interface directly with the Webots interface for moving the model, but it should be relatively straight forward to figure out.

Note: Many of the Nao files in the 5.7.2 release are heavily checksummed, and won’t work if they are modified. Avoid recompiling the nao_soccer_supervisor or modifying any of the world files or the prototype files, or Webots will not run.

Nao simulator

.flickr-photo { border: solid 2px #000000; }
.flickr-yourcomment { }
.flickr-frame { text-align: left; padding: 3px; }
.flickr-caption { font-size: 0.8em; margin-top: 0px; }

Nao’s default position, originally uploaded by northern_bites.

For the past month and a half we’ve been playing around with the Webots simulation of the new Standard Platform robot, the Aldebaran Nao. We’ve scripted a standup routine, gotten python behaviors running, and started working really hard on developing a walk engine.

So far, we’ve been working on a robust implementation of inverse kinematics, which means asking an arm or leg to go to a point in x,y,z space, and then getting the IK system to spit out the joint angles necessary to get there. This is hard, because for any given destination, there can be many combinations of joint angles to get there.

Above is a screen shot of the new simulator, and the nao prototype model.

WordPress upgrade

We upgraded the WordPress software that runs the blog to the new 2.3.1 version, in response to vulnerabilities present in the old version. There was some downtime this afternoon (intermittent over ~10 minutes) as I switched our installation over to manual (as opposed to Debian package-managed) and then upgraded to the latest version. In the process, I set up a system so that hopefully future upgrades will happen immediately after release of a new stable version, and should cause zero downtime.

Northern Bites accepted to the Nao league!!!

After months of waiting, the Robocup trustees have released the list of accepted teams. We are extremely excited, and honored to be part of this new league!

The extra delay in the decision was probably because they chose to include an extra 4 teams in the new league, bringing the grand total to 16. Other teams admitted from the US include a team from UT Austin, and a joint Georgia Tech / CMU team.

In the letter to the applicant teams, the RoboCup trustees repeated their desire to increase the number of teams which are the result of cooperation between multiple institutions. They also mentioned a desire to include a mix of new and very experienced teams, and a more geographicaly diverse set of teams.

Here is the list of accepted teams, (in alphabetical order by country):

– runSWIFT, Australia
– NuBots, Australia
– UChile, Chile,
– sharPKUngfu, China
– WrightEagle, China
– BreDoBrothers, Germany
– Humboldt, Germany
– RWTH-TUG-UTC, Germany/Austria/South Africa
– Kouretes, Greece
– SPQR, Italy
– EagleKnights, Mexico
– TeamChaos, Spain
– Cerberus, Turkey
– CMU/GeorgiaTech, USA
– NorthernBites, USA
– UAustinVilla, USA

More analysis to come soon.

Parents’ weekend scrimmage draws hundreds

On Saturday, we brought our field to Morrel Lounge in Smith Union for a midday scrimmage for the parents. Chown talked (unfortunately, without a mic) about our success as a team, and introduced the members of the team. A crowd of 150-200 then watched our team from Atlanta decimate our team from Hannover 12-1 in two full halves. Though some small children wearing orange-colored pastels provided an unexpected hiccup for our vision calibration, the remainder of the scrimmage went well.
The Atlanta team started in blue, defending against Hannover, who had a scoreless first half. During half-time, one of the spectators suggested we switch the goalie code for each team to give Hannover a better chance. Though the Hannover’s new all-star goalie couldn’t communicate with his teammates, he made some clutch saves in the second half, holding Atlanta to a 12-1 final lead over Hannover.

Both during half-time, and after the game, the crowd was very enthusiastic, and asked many questions. One father even came up to me later in the day, and wondered what his interested teenage son should do in high school to be able to do something like RoboCup in College. On the whole, the parents were immensely entertained, and for the many students who attended, it was an experience to finally see their own robot-dog team in action.
For us, it was a chance to get better at preparing for competition, including a chance for some to learn more about color-calibration. Though the match was a success from an event point of view, it certainly showed us that we have a lot of work to do in the next year to ensure that the Northern Bites remain unbeatable. Look for pictures and a video to be posted soon.

RoboCup 2008 Dates Announced

The RoboCup 2008 site appears to be updated along with a new logo. And, more importantly, the schedule has been released. The dates will be July 14-20. This should give the nBites a strong advantage as they more time in the lab between the end of school and the start of RoboCup.

Trustee scrimmage: NBites atlanta 7, NBites hannover 0

We just finished our one-half-only scrimmage in Lancaster for the trustees. Our current team (in blue) beat our old team from hannover (in red) 7-0 in 9 minutes of play. Though our vision calibration probably favored the atlanta team, and shooting on the yellow goal, the game was engaging to watch. The atlanta team moved the ball well (as is to be expected), and converted on every attack. The Trustees were all very interested, and asked lots of questions which was good. Some of them even asked questions beyond the usual, getting at important issues like why we did so well in atlanta, and how we manage to be so cool (jk). Before the scrimmage began, Professor Chown introduced all the team members, and talked a bit about our team philosophy, and our journey over the past several years.
Looking ahead two weeks to our big Parents Weekend scrimmage on the 27th, we seem to be pretty set. Obviously we will want to have a slightly better tuned color table, but overall, seems like we have reduced the huge ordeal of having a scrimmage to only a couple of hours of prep time (last night, we were out of the venue in only 4 hours, including flield and light setup and calibration).

October is scrimmage month

October is going to be a crazy month: we’ve got three scrimmages lined up. Mainly these are just to get us back in the game, and give the newbies a look at what they’re working for. The first scrimmage will be this Friday in the lab, with special guests Mitch Davis and Allen Delong. Then the next week we are showing off to the Trustees in Lancaster Lounge. Finally, at the end of the month, we’re going all out for a robot-extravaganza Saturday morning of Parents Weekend. Maybe with special guest BMills. We will be on the big floor in the Union; probably you’ll be able to watch from the webcam. While the first two are private scrimmages, anyone is welcome to attend the one on Parents Weekend. Hope to see you there!

Alles Gute zum Geburtstag!

So I have just returned from the celebration of the great German Team leader Matthias’ thirtieth birthday. Many members of the Humboldt Aibo team were there, along with Humanoid team members. I learned a number of things about the future of RoboCup at Humboldt and the inner-workings of the Humanoid team.

Matthias also promises to have his wonderful videos from RoboCup 2007 posted online sometime within the next week.