Ask Your Question

ROS Fuerte/Groovy install from source on ARM/Ubuntu 12.04

asked 2013-05-29 07:16:36 -0500

orion gravatar image

updated 2014-01-28 17:16:41 -0500

ngrennan gravatar image

I am attempting to install either Fuerte or Groovy from source on an ARM based processor. For those interested, the board is the ODroid-U2. There are various resources that I have used for assistance on the matter in regards to those who have attempted an install on pandaboards and raspberry pi. If interested, they are given throughout. I will mainly focus on my path in trying Fuerte, but if anyone has had it working with Groovy, I will go that route.

I haven't had a direct issue following Fuerte+From_Source to install Fuerte. I have made the directories and gotten to the point where I perform the "rosdep install -ay" command, but I receive warnings similar to this.

Specifically, the error pertains to the fact that PCL cannot be found. If you attempt to do a "rosmake -a", you also get an error related to this.

I know this error is due to the fact that there isn't an ARM compatible version of ros-pcl, so I need to have the ability to compile it from source. This is where my primary problem is. I am not sure of how to do this. I know of the resource for pcl, but I am not sure of the correct way to compile it and include it into ROS. I am not too worried about the version of PCL at this time.

I have also attempted to do the same thing with Groovy. I know there is an ARM based version of ROS to get started with Groovy, but it still does not include PCL. In either case, I have not been able to find a good source for a method of building PCL and would appreciate any help on the matter.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-05-29 16:54:31 -0500

ahendrix gravatar image

I would start with the precompiled Groovy debs and then try to compile PCL and anything else you need on top of the deb-based install; you'll save yourself some time getting the base system set up.

I think PCL compiles fairly well on ARM, but you'll probably want to adjust the build flags. In particular, flags that enable SSE optimizations will fail because ARM doesn't have SSE, and you'll want to turn the number of parallel builds down to 1, because PCL tends to use a lot of memory when compiling.

edit flag offensive delete link more



to increase your swap you can also format an USB drive as a swap device and use it for faster compilation. This way the swap is not written to the SD card

kalectro gravatar image kalectro  ( 2013-05-29 19:57:27 -0500 )edit

ahendrix, I completely agree and have gone this route. I have installed Groovy from the current deb-based install described on the ROS site. It is the installing PCL part that I am lost on. I am not sure of which PCL to get. I downloaded a few and they did compile correctly, but ROS never found it.

orion gravatar image orion  ( 2013-05-30 05:57:13 -0500 )edit

remove all other pcl installs and try sudo apt-get install ros-groovy-pcl

kalectro gravatar image kalectro  ( 2013-05-30 06:57:53 -0500 )edit

kalectro, thanks, but I have seen that solution many places. It will not work. I have not found a source that has an ARM compiled version of ros-groovy-pcl. I may have been missing something, but that didn't work for me. Only worked when compiling from source on X86/X64 based computer.

orion gravatar image orion  ( 2013-05-30 08:52:13 -0500 )edit

sorry... I thought there was a pcl binary available. If not, you can compile it from source using the version in my repo Use the rasPi branch

kalectro gravatar image kalectro  ( 2013-05-30 09:58:50 -0500 )edit

kalectro, that is the root of my problem. When I grab the source, where should I compile it to. Should I place it in the root of /opt, place in either the share/stacks locations within ROS, or place it in my workspace. I know it shouldn't matter, but it wasn't working for me when I tried.

orion gravatar image orion  ( 2013-05-30 10:19:40 -0500 )edit

clone the code into the src folder of your catkin environment. You can also create a new catkin workspace just for this purpose. Then compile the code using catkin_make_isolated --install

kalectro gravatar image kalectro  ( 2013-05-30 10:24:16 -0500 )edit

I attempted to build this but got the following error I attempted using my primary workspace as it was new and I am not sure how to setup multiple workspaces in groovy yet (was able to in Fuerte). Any ideas.

orion gravatar image orion  ( 2013-05-30 10:25:30 -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



Asked: 2013-05-29 07:16:36 -0500

Seen: 746 times

Last updated: May 29 '13