Giter VIP home page Giter VIP logo

autonomous_driving_robot_walle's Introduction

Autonomous_driving_robot_walle

In order to implement some of the current mainstream image recognition algorithms, and reinforcement learning algorithms, we built Walle, which is driven by a raspberry pi 3B+ and controlled by four wheel differentials for motion. It contains a monocular camera, and two ultrasonic sensors. Because of the computational limitations of Raspberry and latency. We chose to use IP/TCP protocols for bi-directional data transfer between the laptop and the Raspberry over LAN. The image recognition and neural networks that require more com puting power are performed on the laptop, while the motion control of the car and the camera angle shift are controlled by the Raspberry. Subtasks:

  • Lane recognition of German highways
  • Traffic Sign Recognition based on MobileNet SSD
  • Depth Estimation using monocular camera

ROS Control Demo: https://www.youtube.com/watch?v=Z1_V9yEkl9s

Robot components requirement

  • 2 servomotor e.g SG90
  • raspberry pi 3B+ (here we recommend raspberry pi versions 3 and above, as our system is Ubuntu Mate and there are several sensors, choose the newer one.)
  • raspberry camera v2 or v1 (here you can choose any camera you want, but in our repository only raspberry camera driver supported.)
  • 2 motor driver, we use L298N, and 4 motor for sure
  • wheels, bunches of wires and frame of car(here we build them by hand with wooden planks, but you can also choose 3D printing or other methods.)
  • 2 distance sensor, we use ultrasonsic sensors(HC-SR04)

Here is a demonstration of our walle car.

Installation overview

All our packages are dependent on the ROS(ros operating system), the entire control and calculation is done on the host computer(installed Ubuntu 16.04). raspberry sends image information, and distance information, to the host via tcp protocol. Depending on the state of your local area network, there may be some delays.ใ€€We have chosen to sacrifice the latency in favour of a higher, faster level of calculation.

Let's create and build a workspace:

$ mkdir -p ~/catkin_ws/src
$ cd ~/catkin_ws/
$ catkin_make

Instead of catkin_ws, you can choose any other folder name. and put all packages in folder src, then check dependency. build and make.

$ cd ~/catkin_ws
$ rosdep install --from-paths src --ignore-src -r -y
$ catkin_make

Some basic ros tutorials, which you can find here. Installation is here.

autonomous_driving_robot_walle's People

Contributors

yufengjin avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.