LWN
.net
News from the source
●Content
●Weekly Edition
●Archives
●Search
●Kernel
●Security
●Events calendar
●Unread comments
Naturally, the ultimate homebrew device automation option is the open source Arduino, which was also on display at SCALE thanks to Akkana Peck and her flying robot shark....
a couple of percent" more efficiency in key algorithms, he said — a tiny amount of time compared to the hours spent constructing and debugging the predictable, underlying base layer.
ROS grew out of those concerns. The idea is to provide a reusable meta-framework that researchers can run on their own robot hardware, taking care of low-level services like hardware abstraction, device control (for sensors, actuators, motors, and other robo-building-blocks), and message-passing, and to offer reusable modules for common services like 2D and 3D object recognition and navigation. Developers can incorporate the libraries they need, then write their own code focused on the area of research interest.
Rather than simply design the system and post the code, however, the ROS
team has taken an active interest in cultivating an active community of
robotics researchers and code contributors. There is a thorough documentation site and a
StackOverflow-style question-and-answer site, plus a bug
tracker, IRC channel, and mailing lists. The code is licensed BSD-style,
in order to encourage adoption by commercial research groups in addition to academics.
The plan seems to be successfully attracting developers; the wiki lists more than 400 "stacks," which are installable ROS variants tuned for a specific task, hardware configuration, or research project. Many are marked as being maintained by institutions other than Willow Garage. Willow Garage itself is a "long-term in
cubator", as Foote described it.
The team does its own robotics
research as well as developing R
OS, in the hopes of making a bre
akthrough someday that will warr
ant spinning off a startup compa
ny.
Foote's talk and PR2 videos wowed the crowd (which strained the capacity of the session room), but so did Akkana Peck's live demonstration of Arduino development in the "Fun With Linux and Devices" talk. Peck described herself as an circuit-building novice, emphasizing that Arduino was a simple way to get into the world of programming hardware devices and robots even for those inexperienced with IDEs and soldering irons.
Peck began with an overview of the Arduino itself, including digital and
analog I/O, programming via USB cable, and the various options for power
(USB-supplied, battery, and AC adapter). She then explained the Arduino
software environment and how to compile and upload code.﹃The first project
is always making the LED blink,﹄she said, "
which is a lot more e
xciting than it sounds when you
finally get yours to blink." From the blinking LED, she gradually increased the complexity of the projects, including how to interface with devices that draw more power than an Arduino can safely handle, how to read from sensors, and how to write Python code that interfaces with the Arduino's I/O pins — thus allowing the user to monitor and control devices. Along the way, these examples included several live demonstrations, including linking the blinking-LED signal into a series of desk lamps and Christmas tree lights, creating a functioning oscilloscope, and an echolocation rangefinder. But those projects were only the lead-up to the main event, Sharkduino: controlling an "Air Swimmers" flying shark from a Linux box. Air Swimmers are helium-filled balloon toys with motorized tails and adjustable ballasts, and can be flown using an infrared remote controller. They are also inexpensive, which makes them a tempting target for an Arduino automation project. In addition, the infrared controller is more limited in functionality than a typical radio-controlled airplane or helicopter, making it ripe for hacking. Peck said she considered attaching a small Arduino directly to the shark, but ultimately chose to connect to it via the remote in the interest of making flying-shark-run-amok a less likely outcome. The project involved dissecting the infrared remote, getting help from the Arduino community on what sort of circuits to attach to the remote control's switches, and writing a Python application to run on the desktop. The end result allows the user to fly the shark by moving the mouse up, down, left, or right. It may not shoot lasers yet (toDr. Evil's certain dismay), but "Bruce" (as the shark is evidently named) was still a hit with young and old alike in the audience. Along the way, Peck included tips on where to find Arduino components, how to ask for help from the Arduino community, and how the platform compares to BeagleBoard, RaspberryPi, and other rapid-prototyping products. All of the code demonstrated in the session (including the Sharkduino application) is available on Peck's personal web site, along with the session slides.
| Index entries for this article | |
|---|---|
| GuestArticles | Willis, Nathan |
| Conference | Southern California Linux Expo/2012 |
Posted Jan 25, 2012 23:54 UTC (Wed) by louie (guest, #3285) [Link] (2 responses)
Posted Jan 26, 2012 4:05 UTC (Thu)
by BrucePerens (guest, #2510)
[Link] (1 responses)
Posted Feb 9, 2012 2:28 UTC (Thu)
by n8willis (subscriber, #43041)
[Link]
Nate
Posted Jan 27, 2012 0:01 UTC (Fri)
by alison (subscriber, #63752)
[Link]
Good pun. Clue here.
ROS's universal robots
ROS's universal robots
Robots rampage (in a friendly way) at SCALE 10X
Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds