Giter Site home page Giter Site logo

create2's People

Contributors

domamato avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

create2's Issues

Problems with sound and drive commands

I was using your libary for create2 and found it very usefull. Thanks!
But I was having some errors and after sending commands via Arduino to the robot directly, they disappeared. So I assume it's a bug in the libary code, even though I couldn't locate it.
The problems occur only sometimes. Without changing anything in the code or the setup, they just happen.

  1. Roomba doesn´t drive straight but slightly turns to the left. Next time I turn it on, it drives perfectly straight as I wish. Same code, nothing changed.
  2. Sometimes it takes longer for roomba to make a full turn.
  3. Sometimes it plays the programmed songs nicely and the next time a note freezes while playing. Than the song stops and the next song isn’t played at all. (maybe a problem in the calculation of the songnotes?)

Until now I didn't ran into these problems when sending the commands directly.
(I was using serial with your libary now I'm using soft serial, maybe this could be part of the problem as well?)

I posted the problem together with my code and a video on stackexchange:
https://robotics.stackexchange.com/questions/21128/irobot-create-2-random-changes-in-driving-speed

I hope this is the right place to post comments and field reports - I'm new to github.

Best
Sebastian

To-Do

Need to add more abstractions to help flesh out the library

  • A main update that takes sensor assignment arguments and sets flags when certain events are satisfied
  • A separate sensor listener function to set and remove listeners for certain sensors
  • Get flags returns all current flags, returns requested flag
  • Set drive functions, turn 90 degrees left or right, 180, set by degree or radian etc...
  • set max/min speed

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.