Comments (8)
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.
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.
I am having the same issue with create 1. I will try the battery trick and get back to you though.
from create_robot.
from create_robot.
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.
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.
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.
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)
- Joy_teleop is not publishing to cmd_vel
- Roomba 800 - where to start ? HOT 2
- Verifying library on Roomba 980
- Is there a way to connect several roombas at the same time? HOT 4
- Unknown mode detected HOT 26
- Print linear velocity and angle to terminal [Help Wanted] HOT 3
- Launching create_autonomy in gazebo? HOT 9
- How to publish covariance for ekf HOT 3
- roomba 527 `terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >' what(): write: Input/output error` HOT 2
- OI mode at shutdown for charging battery HOT 1
- Support IR Omni and bumper sensors in Gazebo HOT 3
- Roomba 581 - moves with xbox360 joy and "create_2.launch"
- How to Incorporate Wall Following with Autonomy Lab HOT 2
- Odometry error is huge while rotate in place HOT 1
- Create2 wheel control is wrong when low speed HOT 3
- Node shutdown error HOT 3
- Transform from Map -> Base Footprint uses a weird time transform HOT 1
- No `/mode` topic or service HOT 2
- Ros2 Redesign HOT 1
- roboti
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from create_robot.