Skip to content
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

Problem installing roomblock #6

Closed
RomanROBER opened this issue Jun 9, 2017 · 9 comments
Closed

Problem installing roomblock #6

RomanROBER opened this issue Jun 9, 2017 · 9 comments

Comments

@RomanROBER
Copy link

RomanROBER commented Jun 9, 2017

I am new to ROS and Ubuntu. Thank you for the tutorial but Im having trouble installing the roomblock, when I run ./install_roomblock.sh I got this error :

image

Im running Ubuntu Mate 16.04 on a Raspberry 3 B+ and have ROS Kinetic. Is there any Troubleshooting for this issue?

Regards
R

@RomanROBER RomanROBER changed the title Got a problem when installing roomblock Problem installing roomblock Jun 9, 2017
@7675t
Copy link
Member

7675t commented Jun 10, 2017

I don't use Ubuntu Mate, but I have encountered similar problem. Some binary in libraspberrypi-* conflict other system packages. In general, you can avoid this as:

$ apt download libraspberrypi-bin-nonfree
$ sudo dpkg -i --force-overwrite libraspberrypi-bin-nonfree.deb

I expect someone on upstream solves this problem eventually.

@RomanROBER
Copy link
Author

Hello again, I tried your solution but now I got another Problem:

image

Thank you very much for your help

Regards
R

@7675t
Copy link
Member

7675t commented Jun 12, 2017

Please specify the file (libraspberry-pi-bin-nonfree_1.2brarabra.deb) you just downloaded.

@RomanROBER
Copy link
Author

You were right :)

I had some trouble with rtl8192cu driver and with the kernel so I installed everything separately
image

Then I ran the installer again and it prints that is installed then I did:

$ sudo apt upgrade
and reboot

So now when I try to run roomblock_bringup roomblock.launch it shows that is not installed or found.

image

Regards,
R

@7675t
Copy link
Member

7675t commented Jun 14, 2017

The install script doesn't create workspace and get the source code.
Please consult README.md to create your own workspace, get the source code, and build it.

$ mkdir -p ~/catkin_ws/src
$ cd ~/catkin_ws/src
$ git clone https://github.com/tork-a/roomblock.git
$ cd ~/catkin_ws
$ rosdep install --from-paths src --ignore-src -r -y
$ catkin_make

@RomanROBER
Copy link
Author

Many thanks for the help!

now I made the Workspace :

image

But when I try to run :
$ roslaunch roomblock_bringup roomblock.launch

I got :
image

Am I missing something else?

Regards,
R

@7675t
Copy link
Member

7675t commented Jun 14, 2017

You need to source setup.bash to use the workspace.

cd ~catkin_ws
source devel/setup.bash

And I strongly recommend to take a look on ROS wiki to get basic concept of workspace and packages.

http://wiki.ros.org/ROS/Tutorials

@RomanROBER
Copy link
Author

Thank you for the fast answer and for the suggestion this is my first Project with ROS. I will read and practice more.

Now is working but can I use the roomblock with the Serial Port (ttyAMA0) instead of the USB cable?
I have my Roomba connected to the Serial port.

Regards,
R

@7675t
Copy link
Member

7675t commented Jun 14, 2017

I haven't tried it yet. I believe there is no difference between usb serial and on board serial. I'm grad if you try it.

Edit this file to change the port from /dev/roomba to /dev/ttyAMA0.

roomblock_bringup/launch/include/real_roomba.launch.xml

Or making a symlink from your device file to /dev/roomba may be easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants