GithubHelp home page GithubHelp logo

shaktidhar / mappingrover Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stheophil/mappingrover

1.0 1.0 0.0 843 KB

An autonomous, Arduino-based rover that creates maps of its surroundings using sonar sensors.

OpenSCAD 0.73% Swift 17.03% C++ 72.36% Objective-C 1.56% C 8.31%

mappingrover's Introduction

An Arduino-based mapping vehicle

The Rover

The folder rover contains the code for the vehicle. It used the inotool build tool. inotool has been unmaintained for quite some time and it doesn't work with the latest versions of the Arduino IDE. There is a more current form called Arturo that I haven't had time to check out yet.

In the meantime, download version 1.0.5 of the Arduino IDE. inotool works fine with it. You may need to delete the RobotControl Arduino library, see this thread, if you get compilation errors.

The rover is based on the Dagu Rover 5 platform with 4 motors and encoders, an Arduino Mega, a Redbear BLE Shield, 3 SR04 sonar sensors and the Polulo MinIMU compass and gyro. See letsmakerobots.com for a full description.

To build the project you need the L3G, LSM303 libraries for the MinIMU and the Bluetooth libraries provided by Redbearlab.

The Controller

The Arduino is only responsible for collecting sensor data and sending it to a computer. It receives control commands from the computer. The main application consists of two parts:

  1. All algorithms have been implemented in C++. See robot_controller.cpp for a start. This code requires the boost 1.59 and OpenCV 3.0 libraries. It should be easy to compile it e.g. on a Raspberry Pi or any other single-board computer. It contains no platform-specific input/output or UI code. There is a simple pure C interface in robot_controller_c.h.

  2. I've used the C interface to create a simple Mac application in Swift that both communicates with the robot via Bluetooth and visualizes the received data in a simple UI.

Annotated occupancy grid

mappingrover's People

Stargazers

 avatar

Watchers

 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.