‹ MAE 148 — Introduction to Autonomous Vehicles · Maurício de Oliveira

2019WinterTeam1

Inspired by Spring 2018 Team 6's SoPaRe project, Winter 2019 Team 1 decided to also build a semi-autonomous vehicle that could receive commands via voice recognition, but with the added functionality of Amazon's Alexa Voice Service.

Our GitHub repository can be found here

The Team

Team Members

Objectives

Team 1 set two main goals:

  1. Train a 1/10 scale vehicle that could reliably drive itself around two different pre-designed tracks:
    1. Indoor Track at SME
    2. Outdoor Track at EBU-II
  2. Create a process by which the vehicle could receive practical commands through a voice recognition service with a complex and comprehensive library, such as Alexa Voice Service. Our main objective was to have the car listen for and follow commands such as stop/go, toggle between autonomous and manual modes, and turn a small LED light on and off. As this page shows, we were able to not only meet, but also exceed these goals significantly.

The Project: Voice Recognition Using Alexa Developer Console

Although our project idea was inspired by the Spring 2018 Team 6, we did some research and found an easier way to make our Donkey Car successfully recognize commands: using Amazon's existing voice recognition software, we were able to organize our commands into categories, called intents, and give the program different potential commands, or utterances that a user may call. Additionally, we had to modify the vehicle's code to make it both receive and respond to said commands in a timely manner. We explored and learned about "Flask-ASK", Alexa Skills Development library for python, to program files that would convert voice commands into actions the raspberry pi could identify.

Structure

Our skill was divided into several intents, each of which had then at least one slot with two possible values:

Donkey in Action

The following video shows our vehicle responding to a series of commands uttered by a user using their voice. The terminal window on the left shows the return messages from the program, while the window in the middle is the Alexa Interface in action. Finally, the car is on the right, and the LED light that turns on shows when each command is received.

Please click here to watch video

Problems encountered and lessons learned


Recovered from the original course wiki (server backup, August 2024).