-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Roomblock fail to open port /dev/roomba #14
Comments
Initial post on ROS Answers: Roomblock fail to open port /dev/roomba due to failure in remapping roomba serial port. |
Sorry to be late to respond. Right, the udev rules depends on the hardware, so if you are using different serial-USB adapter for Roomba, you have to change PID and UID (Yes, it may not be good design...). Please make sure your /dev/roomba point to your serial-USB device for Roomba. If not, what happens if you do it manually like follows?
In addition, please notice you have to restart udev daemon like
and make sure you re-plug the USB device after change your udev rule files. |
Thanks for your reply. I tried to set the serial port manually and it worked.
I really thankful if you can help me with this problem. Thanks! |
Please confirm your Roomba is power on. You need to power on by pushing the power button. |
OK, don't jump on to SLAM, please check it step by step.
|
I'm sorry for the late reply and happy new year bro :)
So after I run
Then I ran
I attached the screenshot that shows the error on LaserScan. In case you can't see it, I uploaded it to gdrive.
Since /joint_states, /odom and mobile_base/sensors/core seems to be published, I ran the /cmd_vel. However, nothing happens and the clean button of the roomba starts blinking. I use Roomba 642 and the connector is a simple USB cable as shown below. I hoped you can help me with these problems. Thank you very much. |
Very strange... It seems the ROS node is receiving data and sending commands successfully. Can you check the sensors/core message when the cmd_vel is given?
These value should be changed. |
After I published the cmd_vel, my /diagnostics looks like this.
And the value of
|
I can't find any problem in your information so far...
|
So, after I ran
|
I think the warnings are not the cause of the problem. They are just warnings. Sorry, I have ran out of my ideas for shooting the trouble here.
It may some hardware problems. We've tried this turtlebot_create package with at least four roombas(500 and 600 series) and haven't experienced problem like this. Good luck, |
Thanks for you time. I'll try roomblock package on different roomba. |
Hi,
I installed roomblock according to the instructions (
sudo apt-get install ...
).First I launched
roscore
, then on separate terminal, I launchedroslaunch roomblock_bringup roomblock.launch
.It gave me error that say it cannot bind to /dev/rplidar. So I remapped my rplidar serial port by executing "create_udev_rules.sh" located at "/catkin_ws/src/roomblock/roomblock_bringup/scripts". It worked for my rplidar as shown below.
However, my roomba serial port (ttyUSB1) is not remapped. I checked my roomba vendor and product id,
I found that my vendor and product id setting in roomba.rules didn't match, so I changed it to
Then, I executed "delete_udev_rules.sh" to reset my udev rules and once again I executed "create_udev_rules.sh".
Nevertheless, when I launched >
roslaunch roomblock_bringup roomblock.launch
, it gave me error as below.Can somebody help me with this problem? I'm still new to ROS, so maybe I'm looking at the wrong places and I really appreciate if someone can point out where the problem is.
Thanks!
The text was updated successfully, but these errors were encountered: