Duckiedrone: how to fly a Raspberry Pi-based autonomous quadcopter

Boston, 20 October 2023: Duckietown Sky and the Duckietown drone, a Raspberry Pi-based autonomous quadcopter, are discussed with the Aerial ROS community, a group of experts working to define the future of software architectures for quadcopters.  

Quick links

Learning robot autonomy by flying with Duckietown Sky

Following an invitation to the Aerial ROS workgroup community meeting, Duckietown staff was delighted to present the Duckietown Sky initiative, the current Duckiedrone design, a DIY Raspberry Pi-based autonomous quadcopter, and future plans for both hardware and courseware development.

The goal of the ROS (Robotic Operating System) aerial robotics working group is to gather drone enthusiasts within the ROS community and facilitate the sharing of ideas and discussion of issues regarding autonomous robotic platforms operating in the air.

Duckietown Sky, a National Science Foundation-funded educational effort in collaboration with Brown University started in 2019, is an integral component of the Duckietown education vision, representing the commitment to fostering robot autonomy education in all its forms. Beyond self-driving cars (Duckiebots) and smart cities (Duckietowns), Duckietown highlights what is common despite the different applications of robot autonomy. From ground to sky, whether it drives, flies, or blinks, Duckietown is a platform to learn, explore and innovate when it comes to robot autonomy.

With the focus on quadcopters, Duckietown Sky offers MOOC-style learning experiences tailored for undergraduate and senior high school students. Flight is exciting! 

The program’s design criteria revolves around achieving state-of-the-art autonomy ground-up using off-the-shelf components, with a Raspberry Pi as core computational unit, for its wide-spread applications and large community.  Duckiedrones, now at the second hardware design iteration moving towards the third, aim to provide students with hands-on learning experiences covering from the basics, such as soldering, to pretty advanced algorithmic cornerstones of autonomy such an UKFs (Unscented Kalman Filters) and SLAM (Simultaneous Localization and Mapping). 

Aspiring engineers should however be prepared for preliminary requirements like soldering, have access to a laptop or base station, and an internet connection for setting the working environment up. 

From a box of parts to a Raspberry Pi-based autonomous quadcopter

Duckietown Duckiedrone model DD21 - happy yellow box
Duckietown Duckiedrone model DD21 - what's in the box?

The Duckietown Sky experience is an exciting journey that begins with a simple box of parts and culminates in the creation of an autonomously flying drone. In the Duckietown spirit of democratizing access to the science and technology of autonomy through accessible platforms, the happy-yellow Duckiebox includes almost everything needed to get flying. 

We encourage instructors, students and practitioners to check the development roadmaps for both our hardware design and courseware, outlined in our presentation, and reaching out without hesitation to provide comments or feedback! 

Building on the extensive experience of the Duckietown team in massive open online courses (check out the Self-Driving Cars with Duckietown MOOC: the world’s first robot autonomy MOOC with hardware), we look to prepare a series of short online courses. These courses will be led by Professors from Brown, as well as other universities, and will provide an ever broader audience with the opportunity to explore the fascinating world of robot autonomy: from the science and technology to the tools and workflows, to real-world applications presented by industry and academic leaders. 

Want to try the Duckietown Sky experience yourself, build a DYI Raspberry Pi-based autonomous quadcopter, or teach an aerial autonomy class at your high school or at university level? Follow the steps below to begin now.

Learn more about Duckietown

Duckietown enables state-of-the-art robotics and AI learning experiences. It is designed to help teach, learn, and do research: from exploring the fundamentals of computer science and automation to pushing the boundaries of human knowledge.

Felix Donoso Duckietown POD

Practical and playful: Duckietown talks with Prof. Donoso

Félix Donoso, Associate Professor at Duoc UC uses Duckietown to teach his students about the science and technology of autonomy in a practical and playful way.

Santiago de Chile, 17 October 2023: Learn how Félix Donoso H., Associate Professor at the School of Computer Science and Telecommunications at the Duoc UC Professional Institute, utilized the Duckietown platform to engage with students and teach them complex concepts in a practical and playful way.

Happy students use Duckietown

Practical and playful, an interview with Prof. Donoso

Hi! Could you introduce yourself?

My name is Félix Donoso H. I hold a Master’s degree in Education, specializing in Teaching for Higher Education. I am also an Engineer in Connectivity and Networks and have a Diploma in Applied Research and Innovation. I have been working in higher education for 8 years. Currently, I am an Associate Professor at the School of Computer Science and Telecommunications at the Duoc UC Professional Institute. I am involved in various projects at the Center for Innovation and Technology Transfer.

We read on the DUOC website about your Duckietown class, could you tell us a little more about it?​
At the Center for Innovation and Technology Transfer of the School of Computer Science and Telecommunications at DuocUC, we have recently implemented Duckietown to offer our students hands-on experience in robotics and autonomous vehicles. The workshops are designed to teach fundamental concepts of control, computer vision, and machine learning, using the Duckietown platform to provide a hands-on and cutting-edge yet accessible experience.
top view of duckiebots on a section of duckietown, rubber duckies scattered around, traffic signs
side view of duckiebots on a section of duckietown, rubber duckies scattered around, traffic signs
What is the pedagogical focus of your learning activities?
The pedagogical approach is and will be eminently practical and collaborative. We want students to not only understand theoretical concepts but also apply them in a real environment. Collaboration among students is essential, fostering teamwork and problem-solving in a practical context.
How did you learn about Duckietown?​
I learned about Duckietown during a robotics course at the University of Chile. The platform was presented as an innovative educational tool, and I was intrigued by its potential to teach complex concepts in an accessible and attractive way.
What is the thing you liked most about using Duckietown in your class?​
What I liked most about using Duckietown was the ability to bring abstract concepts to real life. Students were able to see how their algorithms and codes work in a tangible and entertaining environment, making the concepts easier to understand and more appealing.
How did your students react to the course?​

The students responded very positively.
The practical and playful nature of the course allowed them to actively engage
in learning, and many expressed that the experience with Duckietown has been
one of the most memorable in their education. 

Pablo Zapata, a fourth-year student of Computer Engineering and one of the project members, highlights that “my experience has been incredible, as I entered an area that is not part of our curriculum, and for this reason, we have learned to build robots and work with different components. This project has surprised me a lot because of the
technology we are using, and at the same time, it has greatly enriched us over
time.”

On the other hand, Néstor Carvacho, a second-year student in the Computer Programmer Analyst career, points out that “I have been able to work with cutting-edge technology and, with it, learn new work tools that are not part of my career; like Linux, which will help me
in my future work.”

Duckietown has allowed students from different campuses of the school of computer science and telecommunications at Duoc UC to immerse themselves in the world of robotics and autonomous vehicles, Linux, ROS, and Python, in an accessible and exciting way.

Felix donoso and two colleagues kneeling behind a duckietown setting (duckietown, duckiebots, traffic signs)
How would you recommend we improve the platform?
Although the platform is excellent, it could benefit from more resources and tutorials aimed at different levels of experience. It would also be helpful to have more examples of projects and applications in different fields to inspire students and showcase the versatility of the platform.
Would you like to add anything else?

I would just like to emphasize how valuable the Duckietown platform has been to our institution. It has allowed students from different campuses of the school of computer science and telecommunications at Duoc UC to immerse themselves in the world of robotics and autonomous vehicles, Linux, ROS, and Python, in an accessible and exciting way. I am eager to see how the platform evolves and how we can continue to use it in the future with the practical challenges we are preparing.

Learn more about Duckietown

The Duckietown platform enables state-of-the-art robotics and AI learning experiences. It is designed to help teach, learn, and do research: from exploring the fundamentals of computer science and automation to pushing the boundaries of human knowledge.

Tell us your story

Are you an instructor, learner, researcher or professional with a Duckietown story to tell?

Reach out to us!

Duckietown to join the UK Permanent Science Museum Collection!

Boston, October 2023: several Duckietown objects officially joined the Science Museum Group permanent Collection: the United Kingdom’s national archive of science, technology, engineering, and medicine! 

Duckietown joins UK's Science Museum Group Collection

Duckietown is a trailblazer in providing accessible solutions for teaching and learning state-of-the-art autonomy, helping in the dissemination of the science and technology of modern robotics.

In 2019, the Science Museum of London picked up on the project and included Duckietown items: a Duckiebot (DB19), a segment of Duckietown, and a Duckietown traffic light, in their “Driverless: Who is in control?” exhibition.

Following the success of this exhibition, the Board of Directors of the Science Museum started considering including the DUckietown items in the permanent collection of their institution. 

We are proud to announce that, in August 2023, these Duckietown items have officially joined the Science Museum Group Collection – the UK’s national collection of science, technology, engineering and medicine.

Duckietown in the history books

Joining the permanent collection will:

 “ensure that the items – as rare and representative objects – are acquired, conserved, preserved and stored in order that they may be accessible to current and future generations for interpretation, loans to other institutions, research, education, and sometimes display in temporary or permanent exhibitions.

here are some details:

2023-216

E2019.0205.1

Duckiebot – small autonomous robot from Duckietown Project, 2018-2019

2023-222

E2019.0205.2

Traffic light kit from Duckietown Project, 2018-2019

2023-502

E2019.0205.3

City expansion pack from Duckietown Project, 2018-2019

Robotics education and research at IIT Jodhpur: an interview with Prof. Debasis Das

IIT Jodhpur, June 03, 2023: Prof. Debasis Das of IIT Jodhpur, Rajasthan, India, tells us about his experience in bringing Duckietown to his lab to support the teaching, research, and outreach efforts of his team in the fields of autonomous vehicles, robotics, computer vision, machine learning.

Robotics education and research at IIT Jodhpur: an interview with Prof. Debasis Das

Hello Professor Das, thank you for your time in taking our questions. How did you learn about Duckietown?

I learned about the Duckietown project through a variety of sources, including online platforms like social media, discussion forums, and academic publications, where many researchers and robotics enthusiasts have shared information related to the project. Additionally, some of my collaborators have also mentioned the project and its educational and research goals. Through these sources, I gained an understanding of what the Duckietown project is and the impact it has had in the field of robotics education and research.

This is great to hear! Starting from the education aspects, what classes are you teaching at IIT Jodhpur using Duckietown?

Duckietown is being used for a variety of classes and educational programs, primarily in the fields of computer science and engineering at IIT Jodhpur. Most recently we have utilized the platform to teach the following classes:

  • Vehicular Ad Hoc Networks: This class focuses on the design, development, and testing of autonomous vehicles using the Duckietown platform to simulate real-world scenarios.
  • Robotics and Mobility: This class teaches students the principles of mobility and the role of machine learning for decision-making, using the Duckietown platform for practical exercises.
VANET lab team at IIT Jodhpur - Prof. Debasis Das

What has your and your students’ experience been in these courses? 

We have found that hands-on learning experiences, such as those provided by Duckietown, are more effective in increasing students’ knowledge and capacity to recall topics than standard lecture-based teaching approaches. 

Furthermore, the dynamic and fascinating elements unique to Duckietown increase students’ passion for and interest in their assignments.

We have received large positive feedback for Duckietown from students and researchers who have used it at IIT Jodhpur, with many appreciating its entertaining and challenging nature. The platform’s scalability and ease of use across a wide range of disciplines and programs are commendable. Students also appreciate the opportunity to learn programming and problem-solving with real-world robotics difficulties. 

Though there may be some disparities in how each student utilizes the platform and what they gain in terms of education and enjoyment, the data thus far suggests that Duckietown can be a helpful and fun resource for students working in robotics and related fields.

"The Duckietown platform has been a valuable resource in supporting our research activities. We have used it as a tool for engaging with the broader community and promoting interest in science, technology, engineering, and STEM fields, including hosting workshops, competitions, and other events that showcase the capabilities of autonomous vehicles and provide opportunities for hands-on learning and exploration."

Visit to Prof. Das Duckietown research lab at IIT Jodhpur

Are you using Duckietown to support your research activities too?

Yes, the Duckietown platform has been a valuable resource in supporting our research activities. We have used the platform to test and evaluate novel algorithms and methods for autonomous vehicle design and control, and to investigate issues such as computer vision, machine learning, and control systems.

Are there other ways Duckietown has helped you conduct teaching, research, and outreach efforts?

We have used Duckietown as a tool for engaging with the broader community and promoting interest in science, technology, engineering, and mathematics (STEM) fields. We have hosted workshops, competitions, and other events that showcase the capabilities of autonomous vehicles and provide opportunities for hands-on learning and exploration.

Lab visit to VANET@IITJ - outreach effort using Duckietown

Would you suggest Duckietown to your colleagues?

Yes, I would definitely recommend Duckietown to my colleagues who are interested in teaching and researching areas such as autonomous vehicles, robotics, computer vision, machine learning, and control systems.

Duckietown provides a realistic and scalable environment for testing and assessing novel algorithms and methods for autonomous vehicle design and control, as well as a platform for engaging students and the general public in learning and discovery in these domains.

"We have received large positive feedback for Duckietown from students and researchers who have used it at IIT Jodhpur, with many appreciating its entertaining and challenging nature. The platform's scalability and ease of use across a wide range of disciplines and programs are commendable."

Learn more about Duckietown

The Duckietown platform enables state-of-the-art robotics and AI learning experiences.

It is designed to help teach, learn, and do research: from exploring the fundamentals of computer science and automation to pushing the boundaries of human knowledge.

Tell us your story

Are you an instructor, learner, researcher or professional with a Duckietown story to tell? Reach out to us!

Ubuntu laptop terminal interface with hands operating keyboard, Duckiebot and duckies out of focus in foreground

“Self-Driving Cars with Duckietown” MOOC starting soon

Join the first hardware based MOOC about autonomy on edX!

Are you curious about robotics, self-driving cars, and want an opportunity to build and program your own? Set to start on March 22nd, 2020, “Self-Driving Cars with Duckietown” is a hands-on introduction to vehicle autonomy, and the first ever self-driving cars MOOC with a hardware track!

Designed for university-level students and professionals, this course is brought to you by the Swiss Federal Institute of Technology in Zurich (ETHZ), in collaboration with the University of Montreal, the Duckietown Foundation, and the Toyota Technological Institute at Chicago.

Learning autonomy requires a fundamentally different approach when compared to other computer science and engineering disciplines. Autonomy is inherently multi-disciplinary, and mastering it requires expertise in domains ranging from fundamental mathematics to practical machine-learning skills.

This course will explore the theory and implementation of model- and data-driven approaches for making a model self-driving car drive autonomously in an urban environment, while detecting and avoiding pedestrians (rubber duckies)!

In this course you will learn, hands-on, introductory elements of:

  • computer vision
  • robot operations 
  • ROS, Docker, Python, Ubuntu
  • autonomous behaviors
  • modelling and control
  • localization
  • planning
  • object detection and avoidance
  • reinforcement learning.

The Duckietown robotic ecosystem was created at the MIT Computer Science and Artificial Intelligence Laboratory (CSAIL) in 2016 and is now used in over 90 universities worldwide.

“The Duckietown educational platform provides a hands-on, scaled down, accessible version of real world autonomous systems.” said Emilio Frazzoli, Professor of Dynamic Systems and Control, ETH Zurich, “Integrating NVIDIA’s Jetson Nano power in Duckietown enables unprecedented access to state-of-the-art compute solutions for learning autonomy.”

This massive online open course will be have a hands-on learning approach using, for the hardware track, real robots. You will learn how autonomous vehicles make their own decisions, going from theory to implementation, deployment in simulation as well as on the new NVIDIA Jetson Nano powered Duckiebots.

“The new NVIDIA Jetson Nano 2GB is the ultimate starter AI computer for educators and students to teach and learn AI at an incredibly affordable price.” said Deepu Talla, Vice President and General Manager of Edge Computing at NVIDIA. “Duckietown and its edX MOOC are leveraging Jetson to take hands-on experimentation and understanding of AI and autonomous machines to the next level.”

The Duckiebot MOOC Founder’s edition kits are available worldwide, and thanks to OKdo, are now available with free shipping in the United States and in Asia!

“I’m thrilled that ETH, with UMontreal, the Duckietown Foundation, and the Toyota Technological Institute in Chicago, are collaborating to bring this course in self-driving cars and robotics to the 35 million learners on edX. This emerging technology has the potential to completely change the way we live and travel, and the course provides a unique opportunity to get in on the ground floor of understanding and using the technology powering autonomous vehicles,” said Anant Agarwal, edX CEO and Founder, and MIT Professor.

Enroll now and don’t miss the chance to join in the first vehicle autonomy MOOC with hands-on learning!

Integrated Benchmarking and Design for Reproducible and Accessible Evaluation of Robotic Agents

Integrated Benchmarking and Design for Reproducible and Accessible Evaluation of Robotic Agents

Why is this important?

As robotics matures and increases in complexity, it is more necessary than ever that robot autonomy research be reproducible.

Compared to other sciences, there are specific challenges to benchmarking autonomy, such as the complexity of the software stacks, the variability of the hardware and the reliance on data-driven techniques, amongst others.

We describe a new concept for reproducible robotics research that integrates development and benchmarking, so that reproducibility is obtained by design from the beginning of the research/development processes.

We first provide the overall conceptual objectives to achieve this goal and then a concrete instance that we have built: the DUCKIENet.

The Duckietown Automated Laboratories (Autolabs)

One of the central components of this setup is the Duckietown Autolab (DTA), a remotely accessible standardized setup that is itself also relatively low-cost and reproducible.

DTAs include an off-the-shelf camera-based localization system. The accessibility of the hardware testing environment through enables experimental benchmarking that can be performed on a network of DTAs in different geographical locations.

The DUCKIENet

When evaluating agents, careful definition of interfaces allows users to choose among local versus remote evaluation using simulation, logs, or remote automated hardware setups. The Decentralized Urban Collaborative Benchmarking Environment Network (DUCKIENet) is an instantiation of this design based on the Duckietown platform that provides an accessible and reproducible framework focused on autonomous vehicle fleets operating in model urban environments. 

The DUCKIENet enables users to develop and test a wide variety of different algorithms using available resources (simulator, logs, cloud evaluations, etc.), and then deploy their algorithms locally in simulation, locally on a robot, in a cloud-based simulation, or on a real robot in a remote lab. In each case, the submitter receives feedback and scores based on well-defined metrics.

Validation

We validate the system by analyzing the repeatability of experiments conducted using the infrastructure and show that there is low variance across different robot hardware and across different remote labs. We built DTAs at the Swiss Federal Institute of Technology in Zurich (ETHZ) and at the Toyota Technological Institute at Chicago (TTIC).

Conclusions

Our contention is that there is a need for stronger efforts towards reproducible research for robotics, and that to achieve this we need to consider the evaluation in equal terms as the algorithms themselves. In this fashion, we can obtain reproducibility by design through the research and development processes. Achieving this on a large-scale will contribute to a more systemic evaluation of robotics research and, in turn, increase the progress of development.

If you found this interesting, you might want to: