installing_gazebo_with_drc-hubo_model
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
installing_gazebo_with_drc-hubo_model [2016/09/01 09:17] – keitaronishimura | installing_gazebo_with_drc-hubo_model [2018/02/18 15:03] (current) – keitaronishimura | ||
---|---|---|---|
Line 5: | Line 5: | ||
===How to use this tutorial=== | ===How to use this tutorial=== | ||
\\ | \\ | ||
- | This tutorial will walk the reader through ROS and simulator installation with the DRC-Hubo model. This tutorial will lightly go over how to get the two to work together. But controlling the model through PODO will be explained in another tutorial. The reader is expected to be comfortable with using terminal in Ubuntu. This tutorial will take the reader 1.5-2 hrs to finish. | + | This tutorial will walk the reader through ROS and simulator installation with the DRC-Hubo model. This tutorial will lightly go over how to get the two to work together. But controlling the model through PODO will be explained in another tutorial. The reader is expected to be comfortable with using the terminal in Ubuntu. This tutorial will take the reader 1.5-2 hrs to finish. |
\\ | \\ | ||
I will recommend that the reader use multiple monitors since there are going to be multiple programs open at once. | I will recommend that the reader use multiple monitors since there are going to be multiple programs open at once. | ||
Line 19: | Line 19: | ||
===Computer and Software Configuration for DRC-Hubo Simulator=== | ===Computer and Software Configuration for DRC-Hubo Simulator=== | ||
\\ | \\ | ||
- | For the purpose of simulating real-time events having a higher end computer is recommended. Having and Intel i5-4th gen. is a minimum, and having a dedicated GPU is recommended. However the Intergraded Intel HD 5000 series | + | For the purpose of simulating real-time events having a higher end computer is recommended. Having and Intel i5-4th gen. is a minimum, and having a dedicated GPU is recommended. However, the author was able to run the software using an Intergraded Intel HD 5000 series |
\\ | \\ | ||
===ROS Installation=== | ===ROS Installation=== | ||
\\ | \\ | ||
- | You will first need to install | + | You will first need to install |
+ | \\ | ||
---- | ---- | ||
<fc purple> | <fc purple> | ||
- | sudo apt-get install | + | sudo apt-get install |
</fc> | </fc> | ||
---- | ---- | ||
Line 38: | Line 39: | ||
\\ | \\ | ||
To install ROS please refer to these links: | To install ROS please refer to these links: | ||
- | *[[http:// | + | *[[http:// |
\\ | \\ | ||
- | This is the installation for ROS-Jade. This version comes pre-installed with gazebo 5.3.0. If you have a different version of ROS it is ok. Just delete your version | + | This is the installation for ROS-Kinetic. These come pre-installed with gazebo7 but it is just the ros plugin instead |
\\ | \\ | ||
*[[http:// | *[[http:// | ||
\\ | \\ | ||
- | If you are new to ROS you will need to create your workplace (part 3 of tutorial) in order to go further. | + | If you are new to ROS you will need to create your workplace (part 3 of the tutorial) in order to go further. |
\\ | \\ | ||
{{: | {{: | ||
+ | \\ | ||
+ | Once done with setting up the workspace all terminals used and don't forget to add it to your bashrc file so you don't need to source it all the time. First, open the .bashrf file in a new terminal: | ||
+ | ---- | ||
+ | <fc purple> | ||
+ | gedit ~/.bashrc | ||
+ | </fc> | ||
+ | ---- | ||
+ | Then add this line of code at the very end of the file: | ||
+ | ---- | ||
+ | <fc purple> | ||
+ | source ~/ | ||
+ | </fc> | ||
+ | ---- | ||
\\ | \\ | ||
===Installation of DRC-Hubo Plugin=== | ===Installation of DRC-Hubo Plugin=== | ||
\\ | \\ | ||
- | Once You have finished installation of ROS and the workspace it is time to download Gazebo. | + | Once You have finished installation of ROS and the workspace it is time to download |
1. Open a terminal and run the command: | 1. Open a terminal and run the command: | ||
Line 59: | Line 73: | ||
</fc> | </fc> | ||
---- | ---- | ||
- | then run: | + | run: |
---- | ---- | ||
<fc purple> | <fc purple> | ||
- | git clone -b indigo-devel | + | git clone https:// |
</fc> | </fc> | ||
---- | ---- | ||
Line 75: | Line 89: | ||
</fc> | </fc> | ||
---- | ---- | ||
- | then run the command: | + | \\ |
+ | <fc red> | ||
+ | Note: If you get an error stating that the .gazebo/ | ||
+ | </fc> | ||
---- | ---- | ||
<fc purple> | <fc purple> | ||
- | | + | mkdir -r ~/.gazebo/models |
</fc> | </fc> | ||
---- | ---- | ||
Line 221: | Line 238: | ||
===QT Instalation=== | ===QT Instalation=== | ||
- | 1. Download | + | Follow |
- | \\ | + | |
- | {{podo_inst: | + | |
- | \\ | + | |
- | 2. Find the directory holding the .run file and cd to it. Then run: | + | |
- | ---- | + | |
- | <fc purple> | + | |
- | sudo chmod 777 [name of .run file] | + | |
- | </ | + | |
- | ---- | + | |
- | to change it into an executable file. | + | |
- | + | ||
- | 3. Run: | + | |
- | ---- | + | |
- | <fc purple> | + | |
- | sudo ./[name of .run file] | + | |
- | </ | + | |
- | ---- | + | |
- | \\ | + | |
- | {{podo_inst: | + | |
\\ | \\ | ||
- | 4. Check the /opt folder to make sure that qt5.5.1 was properly installed. | ||
===How to Start Gazebo Simulator with PODO=== | ===How to Start Gazebo Simulator with PODO=== | ||
Line 290: | Line 287: | ||
</fc> | </fc> | ||
---- | ---- | ||
- | finally launch gazebo and r-viz using the command: | + | finally, launch gazebo and r-viz using the command: |
---- | ---- | ||
<fc purple> | <fc purple> |
installing_gazebo_with_drc-hubo_model.1472746628.txt.gz · Last modified: by keitaronishimura