|
12 | 12 |
|
13 | 13 | # Gazebo/ROS integration |
14 | 14 |
|
15 | | -With the release of gazebo 2.0 version (as gazebo_current package) there are some [important aspects of gazebo integration into ROS](http://gazebosim.org/tutorials?cat=connect_ros) that must be read before continue. |
| 15 | +With the release of gazebo 2.0 version (as gazebo_current package) there are some [important aspects of gazebo integration into ROS](http://gazebosim.org/tutorials?cat=connect_ros) that must be read before continue. |
16 | 16 |
|
17 | 17 | # Pre-compiled binaries |
18 | 18 |
|
19 | 19 | ### Ubuntu Debians |
20 | 20 |
|
21 | | -1. Configure your Ubuntu repositories to allow "restricted," "universe," and "multiverse." You can follow the [Ubuntu guide](https://help.ubuntu.com/community/Repositories/Ubuntu) for instructions on doing this. (Note: These are enabled by default In Ubuntu 9.04 (Jaunty) and later.) |
| 21 | +1. Configure your Ubuntu repositories to allow "restricted," "universe," and "multiverse." You can follow the [Ubuntu guide](https://help.ubuntu.com/community/Repositories/Ubuntu) for instructions on doing this. (Note: These are enabled by default In Ubuntu 9.04 (Jaunty) and later.) |
22 | 22 |
|
23 | 23 | 1. Setup your computer to accept software from packages.osrfoundation.org. |
24 | 24 |
|
@@ -107,12 +107,12 @@ To install from source, you should first install the SDFormat package, then buil |
107 | 107 |
|
108 | 108 | mkdir ~/gazebo_source |
109 | 109 | cd ~/gazebo_source/ |
110 | | - hg clone https://bitbucket.org/osrf/sdformat |
| 110 | + git clone https://github.com/osrf/sdformat |
111 | 111 |
|
112 | 112 | 1. Change directory into the sdformat repository and switch to the 1.4 branch |
113 | 113 |
|
114 | 114 | cd sdformat |
115 | | - hg up sdf_1.4 |
| 115 | + git checkout sdf_1.4 |
116 | 116 |
|
117 | 117 | *Note: the `default` branch is the development branch where you'll find the bleeding edge code, your cloned repository should be on this branch by default but we recommend you switch to the 1.4 branch if you desire more stability* |
118 | 118 |
|
@@ -147,19 +147,19 @@ To install from source, you should first install the SDFormat package, then buil |
147 | 147 | cd build |
148 | 148 |
|
149 | 149 | 1. Configure Gazebo (choose either method `a` or `b` below) |
150 | | - |
| 150 | + |
151 | 151 | > a. Release mode: This will generate optimized code, but will not have debug symbols. Use this mode if you don't need to use GDB. |
152 | | - |
| 152 | +
|
153 | 153 | > cmake ../ |
154 | | - |
| 154 | +
|
155 | 155 | > Note: A big part of the compilation is the test suite. If it is useful to temporary disable it during the development, you can use: |
156 | 156 |
|
157 | 157 | > cmake ../ -DENABLE_TESTS_COMPILATION:BOOL=False |
158 | | - |
| 158 | +
|
159 | 159 | > b. Debug mode: This will generate code with debug symbols. Gazebo will run slower, but you'll be able to use GDB. |
160 | | - |
| 160 | +
|
161 | 161 | > cmake -DCMAKE_BUILD_TYPE=Debug ../ |
162 | | - |
| 162 | +
|
163 | 163 | 1. The output from `cmake ../` may generate a number of errors and warnings about missing packages. You must install the missing packages that have errors and re-run `cmake ../`. Make sure all the build errors are resolved before continuing (they should be there from the earlier step in which you installed prerequisites). Warnings alert of optional packages that are missing. |
164 | 164 |
|
165 | 165 | 1. Make note of your install path, which is output from `cmake` and should look like: |
@@ -203,7 +203,7 @@ To install from source, you should first install the SDFormat package, then buil |
203 | 203 |
|
204 | 204 | , then `/usr/local/lib` is not in load path (default behavior for Ubuntu). Run the following commands and then try running gazebo again: |
205 | 205 |
|
206 | | - echo '/usr/local/lib' | sudo tee /etc/ld.so.conf.d/gazebo.conf |
| 206 | + echo '/usr/local/lib' | sudo tee /etc/ld.so.conf.d/gazebo.conf |
207 | 207 | sudo ldconfig |
208 | 208 |
|
209 | 209 | 1. If you are interested in using Gazebo with [ROS](http://www.ros.org), see (Installing gazebo_ros_pkgs](http://gazebosim.org/tutorials?cat=connect_ros). |
|
0 commit comments