Difference between revisions of "2021SpringTeam2"

From MAE/ECE 148 - Introduction to Autonomous Vehicles
Jump to navigation Jump to search
Line 21: Line 21:


=== Project Video ===
=== Project Video ===
(QUICK OVERVIEW OF PROJECT)
(QUICK VIDEO OF PROJECT (I (JACK) CAN DO))


== Hardware ==
== Hardware ==
(PICTURE OF CAR HERE OR 3D SCAN)
=== Mechanical Design ===
=== Mechanical Design ===
Images (CAD and real) and description of mechanical
The major components of the mechanical design include the baseplate, camera mount, and Jetson Nano case.
 
==== Baseplate ====
Text about baseplate
 
(CAD)
 
==== Camera Mount ====
Text
 
(CAD)
 
==== Jetson Nano Case ====
Text (maybe link to where we got design from) (also should we use the triton AI one or the one we had on car before?)
 
(CAD)


=== Electrical Design ===
=== Electrical Design ===
Circuit diagram before and after replacement of PWM board and relay
Description of components, circuit diagram before and after replacement of PWM board and relay


== Software ==
== Software ==
Git Repository:  
Git Repository: (LINK HERE)


=== ESP32 (LOLIN32) Code ===
=== ESP32 (LOLIN32) Code ===
Line 37: Line 54:


=== Jetson Nano Code ===
=== Jetson Nano Code ===
==== ROS ====
==== ROS ====
:ROS nodes, topics, etc. maybe a rqt graph?
:ROS nodes, topics, etc. maybe a rqt graph?
Line 49: Line 65:
== Quarter Milestones ==
== Quarter Milestones ==
=== Deep Learning Autonomous Laps ===
=== Deep Learning Autonomous Laps ===
File
(VIDEO)


=== ROS Autonomous Laps ===
=== ROS Autonomous Laps ===
File
(VIDEO)


=== ESP32 with E-Stop ===
=== ESP32 with E-Stop ===
File
(VIDEO)


== Suggestions for the Future ==
== Suggestions for the Future ==
Build to crash
=== Build to Crash ===


Get driving as soon as possible


Other things
=== Get Driving ASAP ===
 
 
=== Expanding ESP32 Website Functionality ===
Describe possible expansions and how to implement


== Acknowledgements and References ==
== Acknowledgements and References ==
maybe the cad we used for the Jetson box
*Team 1 - Thank you for helping us debug the proper PWM signals to send to the motor and servo
 
*Dominic and Haoru -
Team 1 (Helped us with setup for pwm)
*Professor Silberman and Professor de Oliveira -

Revision as of 20:45, 6 June 2021

Team Members

  • Ari Cortes – ECE Senior
  • Antoine Laget – CSE Senior (UCSD Extension)
  • Kevin Lam - MAE Senior
  • Jack Ringelberg - MAE Senior

Project Overview

In this class, students are tasked with programming a remote control car to navigate a track autonomously. This is first accomplished by using deep learning to train an AI model with the Donkey Car framework, and then tackled using ROS to implement image processing and lane-following algorithms. In both cases, training and tuning result in a lot of eccentric behavior and crashes, so an emergency stop is implemented to minimize accidents. Currently, a relay controlled by a wireless clicker disables the PCA9685 PWM board, stopping steering and throttle commands from reaching the servo and motor. This assembly is not ideal because it is bulky, requires with a lot of jumper wires, and causes the car to coast to a stop rather than brake. The goal of this project is to replace the relay and PWM board assembly with a single ESP32 wi-fi capable microcontroller. The ESP32 will generate PWM signals to control the servo and motor and will receive emergency stop commands through wi-fi from a user's phone or computer.

(IMAGE OF PWM+RELAY+CLICKER NEXT TO ESP32 AND A PHONE)

Must Haves

  • ESP32 generates PWM signals based on commands from Jetson Nano to control the servo and motor
  • ESP32 functions as an access point for a phone or computer to connect to
  • Website with a red button activates an emergency stop

Nice to Haves

  • Heartbeat and watchdog to shutdown car when wi-fi connection or serial connection with Jetson is lost
  • Expand website to include additional functions beyond emergency stop

Project Video

(QUICK VIDEO OF PROJECT (I (JACK) CAN DO))

Hardware

(PICTURE OF CAR HERE OR 3D SCAN)

Mechanical Design

The major components of the mechanical design include the baseplate, camera mount, and Jetson Nano case.

Baseplate

Text about baseplate

(CAD)

Camera Mount

Text

(CAD)

Jetson Nano Case

Text (maybe link to where we got design from) (also should we use the triton AI one or the one we had on car before?)

(CAD)

Electrical Design

Description of components, circuit diagram before and after replacement of PWM board and relay

Software

Git Repository: (LINK HERE)

ESP32 (LOLIN32) Code

Description of code behavior

Jetson Nano Code

ROS

ROS nodes, topics, etc. maybe a rqt graph?

Donkey AI

If we do, or if not describe how you would modify the code

App Code

How we designed and also include info on how someone would add features in the future

Quarter Milestones

Deep Learning Autonomous Laps

(VIDEO)

ROS Autonomous Laps

(VIDEO)

ESP32 with E-Stop

(VIDEO)

Suggestions for the Future

Build to Crash

Get Driving ASAP

Expanding ESP32 Website Functionality

Describe possible expansions and how to implement

Acknowledgements and References

  • Team 1 - Thank you for helping us debug the proper PWM signals to send to the motor and servo
  • Dominic and Haoru -
  • Professor Silberman and Professor de Oliveira -