Find a file
Yutaka Kondo 2442ba209c Use shared pointer when binding callback for serial read (#38)
* Resolves an issue with ROS Melodic on 18.04.
2019-08-19 10:32:00 -07:00
examples Update examples 2018-03-28 21:12:03 -07:00
include/create Use shared pointer when binding callback for serial read (#38) 2019-08-19 10:32:00 -07:00
src Use shared pointer when binding callback for serial read (#38) 2019-08-19 10:32:00 -07:00
tests Add unit tests (gtests) 2018-04-06 21:44:28 -07:00
.travis.yml Add Bionic CI job 2019-06-04 00:30:40 -07:00
CHANGELOG.rst 1.6.1 2018-04-21 00:17:39 -07:00
CMakeLists.txt 1.6.1 2018-04-21 00:17:39 -07: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 Use package.xml format 3 2019-03-12 09:59:24 -07:00
README.md Update README with instructions for building and running unit tests 2018-04-19 14:00:34 -07:00

libcreate

C++ library for interfacing with iRobot's Create 1 and 2 as well as most models of Roomba. create_autonomy 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

    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)