Giter Club home page Giter Club logo

Comments (8)

chaosbuster avatar chaosbuster commented on July 20, 2024 1

For me all it took was to uncomment the baud parameter line in the default.yaml file. Left everything else 'as is', even the baud rate. I'm using a Roomba 560 running on a Pi 3.

from create_robot.

calderpg avatar calderpg commented on July 20, 2024 1

I have encountered a similar issue on 18.04 + ROS Melodic where the driver would fail to connect with serial error - Operation cancelled.

The solution in this case was a fix in libcreate:

In libcreate/include/create/serial.hpp:

#include <boost/enable_shared_from_this.hpp>
class Serial : public boost::enable_shared_from_this<Serial> {

and in libcreate/src/serial.cpp, replace all uses of

boost::bind(&Serial:onData, this, _1, _2)

with

boost::bind(&Serial::onData, shared_from_this(), _1, _2)

from create_robot.

pradhanshrijal avatar pradhanshrijal commented on July 20, 2024

I am having the same issue with create 1. I will try the battery trick and get back to you though.

from create_robot.

isankad1990 avatar isankad1990 commented on July 20, 2024

from create_robot.

pradhanshrijal avatar pradhanshrijal commented on July 20, 2024

Still now working for me. I am using Ubuntu 16.04 on a RaspberryPi 3B and ROS Kinetic. Could that be a problem?

I have tried to connect it with a PC with the same version of ROS and Linux but to no avail.

Can it be anything to do with the baudrate the systems are suppose to communicate in?

from create_robot.

jacobperron avatar jacobperron commented on July 20, 2024

Can it be anything to do with the baudrate the systems are suppose to communicate in?

This could be the culprit. You could try changing the baud argument for the driver or on the Create itself (see the manual for instructions). The Create communicates with 57600 or 19200 (default) baud.

from create_robot.

jacobperron avatar jacobperron commented on July 20, 2024

I am unable to reproduce this issue with a Create 1 platform on Ubuntu 18.04, but I would be willing to accept AutonomyLab/libcreate#38 if others on this thread can confirm it fixes the issue for them.

from create_robot.

jacobperron avatar jacobperron commented on July 20, 2024

I'm going to close this with AutonomyLab/libcreate#38 merged. Let me know if there's still an issue.

from create_robot.

Related Issues (20)

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.