Ask Your Question
0

Can you run Indigo on Ubuntu 12.04?

asked 2014-08-05 13:56:46 -0500

danbrooks gravatar image

Is it possible to install Indigo on ubuntu 12.04?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2014-08-05 15:00:43 -0500

danbrooks gravatar image

updated 2014-08-05 15:34:10 -0500

demmeln gravatar image

Is it possible to install Indigo on ubuntu 12.04?

Sorry for the spaces in the links, not enough karma.

I was able to install Indigo Desktop-full from source on Ubuntu 12.04. I basically followed the instructions posted at http://wiki.ros.org/indigo/Installati... , but needed to do a few extra steps.

First, install the prerequisites from the installation instructions. I already had ROS Hydro installed on my machine, and was able to install the dependencies from apt. Once the dependencies are installed the following should work.

Install lz4

$ sudo add-apt-repository ppa: gezakovacs/lz4
$ sudo apt-get update
$ sudo apt-get install liblz4-dev

Install OpenCV. I initially tried using the opencv from the ubuntu repositories without success. Building and installing the latest version of OpenCV from source worked successfully. http://sourceforge.net/projects/openc...

$ unzip opencv-2.4.9.zip 
$ cd opencv-2.4.9/
$ mkdir build
$ cd build/
$ cmake ..
$ make -j8
$ sudo make install
$ sudo ldconfig

Perform the first steps of the installation process

$ mkdir ~/ros_catkin_ws
$ cd ~/ros_catkin_ws
$ rosinstall_generator desktop_full --rosdistro indigo --deps --wet-only --tar > indigo-desktop-full-wet.rosinstall
$ wstool init -j8 src indigo-desktop-full-wet.rosinstall 
$ rosdep update
$ rosdep install --from-paths src --ignore-src --rosdistro indigo -y

This last command will give you errors. This is because the dependencies really are not defined. However, most of these should be opencv related due to the fact rosdep does not know we installed it from source.

Install console_bridge

$ cd src/
$ git clone https://github.com/ros/console_bridge.git
$ cd console_bridge/
$ mkdir build
$ cd build/
$ cmake .. 
$ make
$ sudo make install
$ cd ../../..

Install urdfdom_headers

$ cd src/
$ git clone https://github.com/ros/urdfdom_headers.git
$ cd urdfdom_headers/
$ mkdir build
$ cd build/
$ cmake ..
$ sudo make install
$ cd ../../..

Install urdfdom

$ cd src/
$ git clone https://github.com/ros/urdfdom.git
$ cd urdfdom
$ mkdir build
$ cd build/
$ cmake ..
$ sudo make install
$ cd ../../..

Finally, start the build. Make sure you have not sourced any ROS setup.bash files.

$ ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release

You can resume building at the package you failed at using the following command.

$ ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --from-pkg=<package name>
edit flag offensive delete link more

Comments

1

Using `console_bridge` from the source repository as-is will give you a very different version then what is used in Indigo on Trusty from Ubuntu.

Dirk Thomas gravatar imageDirk Thomas ( 2014-08-05 15:08:55 -0500 )edit
4

answered 2014-08-05 14:17:21 -0500

gvdhoorn gravatar image

updated 2014-08-05 14:18:12 -0500

This question has been answered before, but:

  • officially: no, there is no support for Indigo on Ubuntu Precise. See REP-3, Indigo Igloo
  • unofficially: yes, but you have to build from source
  • alternatively: you could use a chroot (although this is not technically Indigo on Precise, it does let you run it on your Precise installation without having to install Trusty), but please understand the limitations of this option
edit flag offensive delete link more

Comments

I actually have a set of instructions I'm trying to post for other people to use, but after I posted the question it would not let me answer my own question.

danbrooks gravatar imagedanbrooks ( 2014-08-05 14:45:51 -0500 )edit

Seems I was a bit 'trigger happy' then. In any case: would a tutorial on the ROS wiki not be a more suitable place for this information?

gvdhoorn gravatar imagegvdhoorn ( 2014-08-05 15:12:56 -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: 2014-08-05 13:56:46 -0500

Seen: 2,813 times

Last updated: Aug 05 '14