Ask Your Question
0

Install ROS Groovy on Raspberry PI: catkin_make_isolated import error

asked 2016-01-05 10:26:52 -0500

Derkabub gravatar image

updated 2016-01-05 12:05:04 -0500

gvdhoorn gravatar image

My intention is to get Groovy running on Raspberry PI so I can work with ROS_NXT. I am trying to follow the guide:

http://wiki.ros.org/nxt

I run into issues while trying to install Groovy on raspberry pi using the following guide:

http://wiki.ros.org/groovy/Installati...

I get to item: 6. Build the Catkin Workspace

I attempt to run the following command:

Invoke catkin_make_isolated:

$ sudo ./src/catkin/bin/catkin_make_isolated --install --install-space /opt/ros/groovy

This results in the command not being found.

I then alter the command to run the python script named catkin_make_isolated which on my installation is located at:

/opt/ros/groovy/bin/catkin_make_isolated

This results in the error:

Traceback (most recent call last):
   File "/opt/ros/groovy/bin/catkin_make_isolated", line 11, in <module> from catkin.builder import build_workspace_isolated, colorize line, extract_cmake_and_make_arguments
ImportError: No module named catkin.builder

I have tried: 1. command: sudo apt-get --reinstall install python-catkin-pkg 2. running the commend to invoke catkin_make_isolated (minus sudo) after: sudo bash

I am obviously new to this and struggling to get past this error. Any help would be very welcome.

Thank you in advance.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-01-05 12:29:37 -0500

duck-development gravatar image

Did you try ev3dev

if you have an EV3 this should be easy, you connect the PI with the EV3 Brick over USB-Network,

run the Ros Master on the PI and and the Sensor nodes on the Brick

edit flag offensive delete link more

Comments

I have a Lego Mindstorms NXT (the prior generation) I am afraid. I will keep this in mind for the future in case I have to go that way. Are you aware of any issues with connecting to the NXT?

Derkabub gravatar image Derkabub  ( 2016-01-05 13:09:18 -0500 )edit

I like lego, and i think connecting Lego with ros is greate, this ist the bridge from toy to research. Do you use the NXT brick or the PiBrick?. Is it possible to use an PI2 it would make it more standard, standard Ubuntu.More support, ros works from stock.

duck-development gravatar image duck-development  ( 2016-01-05 15:56:13 -0500 )edit

I am trying to figure out the installation so i can connect a raspberry pi model A to connect to an NXT. The PI brick would be nice but I have an NXT brick and a raspberry pi on hand.

I do agree is that it would be a wonderful (and affordable) way to understand the workings of ROS.

Derkabub gravatar image Derkabub  ( 2016-01-05 21:42:45 -0500 )edit

Ah ok.

http://wiki.ros.org/ROSberryPi/Instal... is an option, but may not be less work than getting groovy to work, but if you are getting it to talk to your laptop which is using indigo it is much better to have them both using the same ROS version

nickw gravatar image nickw  ( 2016-01-07 03:07:06 -0500 )edit

Yesterday I make a clean install of ros indigo an a fresh rasbian Jessy lite installation. Following the instruction

An the compilation worked. I tried the comm packets. But it toke a long time

duck-development gravatar image duck-development  ( 2016-01-07 05:21:27 -0500 )edit

I will have to keep Jessie in mind. However, in the case of using ROS-NXT on the Raspberry PI (original PI not 2) needs at least the Mobile install.

Thanks for replying though, I am looking for ideas.

Derkabub gravatar image Derkabub  ( 2016-01-07 10:40:39 -0500 )edit

i tryed rosinstall_generator robot mobile perception nxt_ros --rosdistro indigo --deps --wet-only --exclude roslisp --tar > indigo-nxt.rosinstall

and the output was The following not released packages/stacks will be ignored: mobile, nxt_ros

i see there is no official nxt_ros catkin build.

duck-development gravatar image duck-development  ( 2016-01-07 10:50:17 -0500 )edit

I am told that there are some unofficial catkin-ized clones of the original repository on GitHub.

I got this from a comment from a comment at:

http://wiki.ros.org/sig/NXT

Derkabub gravatar image Derkabub  ( 2016-01-07 12:57:44 -0500 )edit
0

answered 2016-01-05 16:52:32 -0500

The entry here https://groups.google.com/forum/#!top... says that you can get it to work with more recent versions of ROS. These are easier to install on the Pi now than Groovy was, so it might be better to try that.

edit flag offensive delete link more

Comments

From what I read from that post it seems to be for adapting the ROS-NXT to unbuntu 14.04.02. In my case I cant use Unbuntu on the raspberry pi. I do have ROS-Indigo working on unbuntu on my laptop.

For this project I need it to work on my raspberry pi and be able to run ROS Groovy for ROS-NXT.

Derkabub gravatar image Derkabub  ( 2016-01-05 21:48:36 -0500 )edit

I would still try and use a more recent version of ROS even if you are using raspbian.

nickw gravatar image nickw  ( 2016-01-05 23:44:28 -0500 )edit

I would rather use indigo. However, according to item 6 at the following link:

http://wiki.ros.org/nxt

rosbuild is required.

I am very new to both Linux and ROS so if there aren't explicit instructions I would not really be sure where to start. Any thought on accomplishing this?

Derkabub gravatar image Derkabub  ( 2016-01-06 11:49:20 -0500 )edit

you should be able to use rosbuild with indigo to build from source. Put an ubuntu install for raspberry pi on an sd card and then follow the ubuntu indigo arm install for ROS Follow the same instructions as the groovy install for ros_nxt, but everywhere where it says groovy put indigo instead.

nickw gravatar image nickw  ( 2016-01-06 16:30:47 -0500 )edit

I am afraid that my raspberry PI is the original PI with the following specs:

700MHz Broadcom BCM2835 CPU / 512 MB SDRAM @ 400MHz

However, since I am more familiar with Ubuntu 14.04 LTS (Trusty Tahr) this is a great option.

Thanks I will keep this in mind.

Derkabub gravatar image Derkabub  ( 2016-01-06 20:25:23 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-01-05 10:26:52 -0500

Seen: 509 times

Last updated: Jan 05 '16