Git Product home page Git Product logo

computervisiondumptruck's Introduction

ComputerVisionDumptruck

A computer vision dump-truck robot for IDDFA19 at Cornell Tech

Team

Matt Freed and Bil Leon

Rough form: Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo

Videos:

https://www.youtube.com/watch?v=ux81tY8T8iU

https://www.youtube.com/watch?v=gVR7a9DyGOU

https://www.youtube.com/watch?v=SawVYpYz-DI

Expected parts:

2 Motors

Caster Wheels

Battery

Camera

2x Arduino

Arduino Motor Shield

RPI

Servo

Mostly everything will be located under the hood. The camera will be located on the rod as seen in the renders

Interaction plan:

Shop bot is a workshop-helper. No more needing too put your tools in the right locations, simply put the tool into shop-bots basket and it will bring the tool to the right place!

Step 1: Design

Download the cad files that are located in this repository. These parts were custom designed.

Step 2: Manufacturing and assembly

These parts were designed to be 3d printed. 3D print the files and assemble them, referencing the render models for where each part goes. 3D printers are not exact when printing parts, and therefore the parts may need be sanded down to freely move depending on which 3D printer was used.

Once all are attached, begin mounting the elctronics. The servo belongs in the front, and should friction fit in place in its locking location. The motors also should friction fit into place on the rear of the robot.

Screw 2 caster wheels to the front of the underside of the robot on the platforms supplied.

Attach the arduino with the motorshield to the underside of the robot, located near center. Connect the motors to the motor shield.

Once the entire robot is assembled, place the second arduino and the Pi into the electronics bay (the fin-like box).

Connect the servo wires to the arduino located inside the electronics bay.

Connect the two arduinos now to the Pi's usb ports, along with the camera usb.

Step 3: Programming

Flash the servo arduino with the servo code and the motor arduino with the motor controller code.

The servo code is a simple "sweep" code adjustment, where the servo will move to 1 position, then return to its original position.

The motor controller code utilizes a library which allows the motors to run both forwards and backwards. This is necessary for moving backwards and turning.

Flash the Pi with the supplied code for computer vision, this will tell the pi what is inside the dump bed, along with what arduino to send information to. The included TensorFlow Lite model includes detection for hotdogs (and aggressive detection of humans).

Step 4: Watch!

Power the robot with a USB-C Power Delivary battery and place a hot dog inside the bed! If done correctly, the robot should see the hot dog, beep loudly, and know that it must go straight, then to the right, then dump the hotdog, and then return back to you!

Congrats you are now a robot wizard, harry!

computervisiondumptruck's People

Contributors

mattfreed avatar wjl88 avatar

Watchers

James Cloos 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.