Find a file
2024-10-08 11:48:52 +02:00
.github/workflows Revert "ci: switch workflows to Default runner group" 2024-10-08 11:48:52 +02:00
ci ci: remove Werror from entrypoint 2024-09-25 21:58:36 +02:00
cmake cmake: add default Werror, extract version only from GITHUB_REF if tag 2024-09-25 21:54:46 +02:00
examples Fix 'maybe-uninitialized' warnings 2021-05-05 21:51:52 -07:00
include/create fix tests for new cliff packets, add string to packet.h 2024-09-22 18:13:22 +02:00
src Implemented Create reset method 2024-09-22 17:32:37 +02:00
tests fix tests for new cliff packets, add string to packet.h 2024-09-22 18:13:22 +02:00
.dockerignore ci: add packing job 2024-09-23 13:34:34 +02:00
.gitignore gitignore: add cmake/cpack output directories 2024-09-26 09:21:10 +02:00
CHANGELOG.rst 3.1.0 2023-05-09 14:50:03 -07:00
CMakeLists.txt cmake: add default Werror, extract version only from GITHUB_REF if tag 2024-09-25 21:54:46 +02:00
config.cmake.in Refactor cmake files 2017-12-17 18:37:08 -08:00
LICENSE Code cleanup 2016-02-12 17:44:30 -08:00
mainpage.dox Add mainpage.dox 2016-10-16 16:30:44 -07:00
package.xml 3.1.0 2023-05-09 14:50:03 -07:00
README.md Update README 2023-05-21 16:59:38 -07:00

libcreate

C++ library for interfacing with iRobot's Create 1 and 2 as well as most models of Roomba. create_robot is a ROS wrapper for this library.

Build Status

Build Status

Dependencies

Install

    sudo apt-get install build-essential cmake libboost-system-dev libboost-thread-dev

    # Optionally, install gtest for building unit tests
    sudo apt-get install libgtest-dev
    cd /usr/src/gtest
    sudo cmake CMakeLists.txt
    sudo make
    sudo cp *.a /usr/lib

Serial Permissions

User permission is requried to connect to Create over serial. You can add your user to the dialout group to get permission:

    sudo usermod -a -G dialout $USER

Logout and login again for this to take effect.

Build

Note, the examples found in the "examples" directory are built with the library.

cmake

    git clone https://github.com/AutonomyLab/libcreate.git
    cd libcreate
    mkdir build && cd build
    cmake ..
    make -j

catkin

Requires catkin_tools.

    mkdir -p create_ws/src
    cd create_ws
    catkin init
    cd src
    git clone https://github.com/AutonomyLab/libcreate.git
    catkin build

Running Tests

To run unit tests, execute the following in the build directory:

    make test

Known Issues

  • Clock and Schedule buttons are not functional. This is a known bug related to the firmware.
  • Inaccurate odometry angle for Create 1 (#22)
  • Some 600 series models incorrectly report the OI Mode in their sensor stream (create_robot #64)
    • To enable or disable the OI Mode reporting workaround, pass true or false to setModeReportWorkaround()