Install ubuntu

From The Player Project

(Difference between revisions)
Jump to: navigation, search
(Undo revision 4120 by Ybysavozy (Talk))
 
Line 1: Line 1:
-
----
 
-
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 
-
----
 
-
=[http://ocilufic.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]=
 
-
----
 
-
=[http://ocilufic.co.cc CLICK HERE]=
 
-
----
 
-
</div>
 
= How to install Gazebo 0.9 on Ubuntu Linux 10.04  =
= How to install Gazebo 0.9 on Ubuntu Linux 10.04  =
Line 15: Line 7:
* open Synaptic Package Manager (in menu System/Administration)
* open Synaptic Package Manager (in menu System/Administration)
-
* automatically mark all necessary packages by opening each of the [[install_ubuntu_packages|4 provided package lists]] (&quot;[[install_ubuntu_packages|*.markings]]&quot;) in the menu File/Read Markings ...
+
* automatically mark all necessary packages by opening each of the [[install_ubuntu_packages|4 provided package lists]] ("[[install_ubuntu_packages|*.markings]]") in the menu File/Read Markings ...
-
* click &quot;apply&quot; in order to install everything
+
* click "apply" in order to install everything
Just for information:
Just for information:
-
&quot;[[install_ubuntu_packages|ubuntu-building.markings]]&quot; contains build-essentials, cmake, libtool, etc.
+
"[[install_ubuntu_packages|ubuntu-building.markings]]" contains build-essentials, cmake, libtool, etc.
-
&quot;[[install_ubuntu_packages|ubuntu-player-ode.markings]]&quot; contains dependencies of player-3.0.1 and ode 0.11.1., including libboost etc.
+
"[[install_ubuntu_packages|ubuntu-player-ode.markings]]" contains dependencies of player-3.0.1 and ode 0.11.1., including libboost etc.
-
&quot;[[install_ubuntu_packages|ubuntu-player-extra.markings]]&quot; contains additional dependencies of player-3.0.1 in order to support more drivers.
+
"[[install_ubuntu_packages|ubuntu-player-extra.markings]]" contains additional dependencies of player-3.0.1 in order to support more drivers.
-
&quot;[[install_ubuntu_packages|ubuntu-gazebo.markings]]&quot; contains dependencies of gazebo, including OGRE 1.6.4 and GDAL - Geospatial Data Abstraction Library.
+
"[[install_ubuntu_packages|ubuntu-gazebo.markings]]" contains dependencies of gazebo, including OGRE 1.6.4 and GDAL - Geospatial Data Abstraction Library.
== Building Player(3.0.1) ==
== Building Player(3.0.1) ==
Line 79: Line 71:
Problems encountered so far, when starting gazebo:
Problems encountered so far, when starting gazebo:
-
=== &quot;X_CreateGC: BadDrawable (invalid Pixmap or Window parameter)&quot; ===
+
=== "X_CreateGC: BadDrawable (invalid Pixmap or Window parameter)" ===
Solution: Use system with sufficient 3d acceleration support. Install NVIDIA/ATI graphics card drivers for full 3d graphics support, or guest extensions when using VirtualBox.
Solution: Use system with sufficient 3d acceleration support. Install NVIDIA/ATI graphics card drivers for full 3d graphics support, or guest extensions when using VirtualBox.
-
=== &quot;OpenGL Warning: Failed to connect to host. Make sure 3D acceleration is enabled for this VM&quot; ===
+
=== "OpenGL Warning: Failed to connect to host. Make sure 3D acceleration is enabled for this VM" ===
Solution: Ignore. (enabling 3D acceleration in VirtualBox causes gazebo to not work at all!)
Solution: Ignore. (enabling 3D acceleration in VirtualBox causes gazebo to not work at all!)
-
=== &quot;bt_audio_service_open: connect() failed: Connection refused (111)&quot; ===
+
=== "bt_audio_service_open: connect() failed: Connection refused (111)" ===
-
Solution: Just ignore, or uninstall package &quot;bluez-alsa&quot;
+
Solution: Just ignore, or uninstall package "bluez-alsa"
  $ sudo apt-get purge bluez-alsa
  $ sudo apt-get purge bluez-alsa

Latest revision as of 03:13, 27 November 2010

Contents

How to install Gazebo 0.9 on Ubuntu Linux 10.04

Below are step by step instructions on how to install Gazebo 0.9 on Ubuntu Linux 10.04 (32bit). These have been tested on multiple systems on a fresh Ubuntu install. They also work in VirtualBox.


Installing Dependencies

  • open Synaptic Package Manager (in menu System/Administration)
  • automatically mark all necessary packages by opening each of the 4 provided package lists ("*.markings") in the menu File/Read Markings ...
  • click "apply" in order to install everything


Just for information: "ubuntu-building.markings" contains build-essentials, cmake, libtool, etc. "ubuntu-player-ode.markings" contains dependencies of player-3.0.1 and ode 0.11.1., including libboost etc. "ubuntu-player-extra.markings" contains additional dependencies of player-3.0.1 in order to support more drivers. "ubuntu-gazebo.markings" contains dependencies of gazebo, including OGRE 1.6.4 and GDAL - Geospatial Data Abstraction Library.

Building Player(3.0.1)

$ mkdir build
$ cd build
$ cmake ../
$ make
$ sudo make install
$ cd /usr/local/include/player-3.0
$ sudo ln -s libplayerinterface libplayerxdr
$ sudo ldconfig

(these last 3 lines fix a problem encountered later when building gazebo)


Building ODE physics engine (0.11.1)

$ ./configure --with-trimesh=opcode --enable-new-trimesh --disable-demos --enable-shared --with-arch=nocona --enable-release --enable-malloc --enable-ou --disable-asserts --with-pic
$ make
$ sudo make install
$ sudo ldconfig


Building Gazebo (0.9)

$ mkdir build
$ cd build
$ cmake ../
$ make
$ sudo make install
$ sudo ldconfig
$ sudo gedit ~/.gazeborc
  • Change ogrePath from /OGRE to /usr/lib/OGRE, and save and close window.


Testing Gazebo

  • enter gazebo source directory
$ cd worlds
$ gazebo pioneer2at.world
  • You should see a pioneer robot on a grass surface.


Troubleshooting

Problems encountered so far, when starting gazebo:

"X_CreateGC: BadDrawable (invalid Pixmap or Window parameter)"

Solution: Use system with sufficient 3d acceleration support. Install NVIDIA/ATI graphics card drivers for full 3d graphics support, or guest extensions when using VirtualBox.

"OpenGL Warning: Failed to connect to host. Make sure 3D acceleration is enabled for this VM"

Solution: Ignore. (enabling 3D acceleration in VirtualBox causes gazebo to not work at all!)

"bt_audio_service_open: connect() failed: Connection refused (111)"

Solution: Just ignore, or uninstall package "bluez-alsa"

$ sudo apt-get purge bluez-alsa
Personal tools