Skip to content

Problems with sound and drive commands #2

@BaChant

Description

@BaChant

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions