ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Thanks alot for the assistance Javier. Got it working now. I probably had to restart for the newly downloaded .xml files to be accepted (it was only running cirs.xml when I just installed it).

I would like to consolidate the process of installing new scenes for all those who are new to Ubuntu, ROS and Uwsim like me. I have included the IRSLab procedure and provided further details in bold numbered. This procedure worked for me.

UWSIM SCENE INSTALL PROCEDURE FOR BEGINNERS (FOR PACKAGE BASED INSTALLATION OF UWSIM)

Note: Only the bold text below is mine.

As UWSim is being used for different purposes we were in the need of using several scenes and share them. This process was quite tedious, so we have decided to create a basic scene installer that helps with the process of downloading and copying 3D models and configuration scenes in the correct places to be able to run them. This script is already available in the indigo branch in github and can be download here. Just place it in a scenes folder (any with a UWSimScene.dtd file), in the github is already placed in data/scenes, and run it like this:  ./installScene -s dredging.uws

1. Copy the script provided by IRS Lab from the link provided above, open the gedit text editor and paste. Save the file as “Installscene.sh” in your home folder, as you will not be permitted to directly save it in the scenes folder of Uwsim. 2. Copy the newly created file “Installscene.sh” from the home folder into scenes folder of Uwsim with the following command in the terminal window: sudo cp /home/your past to the file/installscene.sh /opt/ros/indigo/share/uwsim/data/your path to the scenes folder/scenes 3. Run this copied file “installscene.sh” by directly placing the path to the file and the file name in your terminal window, and include the name of the new scene that you would like to download as follows: sudo /opt/ros/indigo/share/uwsim/data/scenes/installscene.sh -s dredging.uws
and later, sudo /opt/ros/indigo/share/uwsim/data/scenes/installscene.sh -s cuba.uws
(by the way, pipes_scenes.uws gave the following error: HTTP request sent, awaiting response... 404 Not Found , 2016-05-27 11:33:07 ERROR 404: Not Found. , Installing... )

You will see some downloads and when it finishes you should have the new scene in your installation, just run uwsim "rosrun uwsim uwsim --configfile dredging.xml" and if everything worked as it should UWSim will start with the new scene (you may need to execute catkin_make install). You can check the available scenes in the new scenes tab of the website and more details on how to use it in the wiki. Finally if you want to share your scenes you can do it here.

4. I did not need catkin_make install prior running the newly downloaded scenes. I used the following command in the terminal window (roscore should be running already) rosrun uwsim uwsim –configfile cuba.xml 5. Initially, when I used the above comand, the earlier cirs.xml file kept opening. However, when I restarted my computer, and ran the above command, the new .xml file opened.

Hope this helps.