Coder Social home page Coder Social logo

ovisu's Introduction

Roomba odometry visualization

Read delta odometry data from iRobot Roomba Open Interface (ROI) and visualize the integrated position in HTML5.

System Architecture

  • iRobot Roomba 782e.
  • ESP 8266 (NodeMCU) reads delta rotation and delta translation from the ROI.
  • NodeMCU is powered from the ROI power supply. The voltage is regulated using a Pololu S10V4F5 5V regulator.
  • ESP 8266 sends the odometry data via mqtt to a Raspberry Pi.
  • The Raspberry Pi hosts a mqtt broker.
  • A node.js visualization server on the Raspberry Pi receives the delta odometry data. It integrates it to a global position and provides an array of positions via html5 websockets.
  • A webclient receives the positions via a websocket and visualizes them.
  • Pimatic provides the website and is the interface to control the Roomba. Pimatic communicates with the ESP 8266 via mqtt.

alt text

Issues

  • I used the Roomba 500 series datasheet for the opcodes. But it seems they are not fully correct. The opcodes to read the delta translation and rotation are swapped (rotation is translation and vice versa).
  • When reading the battery capacity (opcode 26) or charge value (opcode 25), the serial communication becomes very unstable with a lot of communication errors. When reading any other data this does not happen.
  • I tried using the motion commands, but Roomba 782 never reacted properly. Probably the opcodes slightly changed.

Pictures

alt text

alt text

alt text

ovisu's People

Contributors

maltejoos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

ovisu's Issues

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.