Giter Site home page Giter Site logo

irobot_cpp_interface's Introduction

iRobot_cpp_interface

C++ interface to control the Roomba iRobot Create through a serial port. Implemented for Windows (tested in Windows 10) and Unix (tested in Ubuntu 14.04). Robotics project (November 2015)

Check the corresponding main files for an example of how to use the interface.

Known issues:

While the iRobot moves around it stops processing new input (enters a "wait" state) and stores any succesive commands in an internal buffer to process them after the current movement is completed. This buffer holds 256 bytes; sending too many commands while the robot is in the wait state will overwrite it and cause erratic behavior. If you do have to send many commands wait until the robot processes some older ones (and the buffer clears) to keep sending commands. This will usually not be an issue unless you send many commands which take long for the robot to process, up to 20 succesive moveAhead()s or turnLeft()s still work fine.

irobot_cpp_interface's People

Contributors

ecobost avatar

Stargazers

 avatar YovanTak avatar

Watchers

YovanTak avatar  avatar

irobot_cpp_interface's Issues

強制的に終了してしまう

初めまして.
大学の研究で使わせていただいております.

実行すると,プログラムが勝手に終了してしまいます.
どうすれば,解決できるでしょうか?
アドバイスお願いします.
実行したときの画面を画像で添付します.
後2つお聞きしたいのですが,↓の”////.//”は何を書けばいいのでしょうか?
また,それはどのようにすれば,分かるのでしょうか?
// Open the serial port.
port = "////.//" + port;

file

Windows8.1
Visual studio 2013 professionalを使用しています.

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.