SNRLab / SlicerROSIntegrationTraining

Create a plugin software to connect ROS and Slicer by OpenIGTLink
1 stars 0 forks source link

Download and Compile ROS #8

Closed ayamada0614 closed 11 years ago

ayamada0614 commented 11 years ago

Reference: ROS Installation

(For Ubuntu 12.04) *Setup your source.list sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu precise main" > /etc/apt/sources.list.d/ros-latest.list'

*Setup your keys wget http://packages.ros.org/ros.key -O - | sudo apt-key add -

*Prepare Installation sudo apt-get update sudo apt-get upgrade

*Desktop-full install (ROS, rx, rviz, robot-generic libraries, 2D/3D simulators, navigation and 2D/3D perception) sudo apt-get install ros-fuerte-desktop-full

*Environment setup echo "source /opt/ros/fuerte/setup.bash" >> ~/.bashrc . ~/.bashrc

*Update shell source /opt/ros/fuerte/setup.bash

*Standalone tools sudo apt-get install python-rosinstall python-rosdep

ayamada0614 commented 11 years ago

Lauch test: roslaunch gazebo_world empty_world.launch

When you'd like to stop ROS simulator, click [x] button at left upper and then ctrl+c.

ayamada0614 commented 11 years ago

About workspace...

The following package path was inserted into .bashrc.

ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:"$HOME/path/to/your/work/folder"

. ~/.bashrc

ayamada0614 commented 11 years ago

Execute command as follows: roslaunch gazebo_worlds empty_world.launch

ayamada0614 commented 11 years ago

Lauch test: roslaunch gazebo_world empty_world.launch

When you'd like to stop ROS simulator, click [x] button at left upper and then ctrl+c.

jamesmith commented 11 years ago

I am installing Cygwin. It takes time very much because I selected "ALL instal"... :-(

jamesmith commented 11 years ago

Is my installation procedure "WinRos on Linux" not "WinRos on Windows" of this page?

ayamada0614 commented 11 years ago

You should install ROS following the instruction for WinROS on Windows.

ayamada0614 commented 11 years ago

Cygwin is useful to compile your packages.

ayamada0614 commented 11 years ago

Can you try installing ROS on cygwin following the documentation as follows?

http://www.ros.org/wiki/ja/install_ROS_on_cygwin

jamesmith commented 11 years ago

Are "WinROS on Windows" and "ROS on cygwin" to make the other environment? I try both, but at first try "WinROS on Windows".

ayamada0614 commented 11 years ago

I think parts of ROS components are available but they don't include what we would like to use. So, I recommend you to install ROS on Cent OS at first. Then, let's consider the solution for Windows during creating packages. The best way to overcome this installation issue might install Ubuntu Linux on Virtual Box as a virtualization environment. But I don't know if you can install Virtual Box in your environment.

jamesmith commented 11 years ago

I can install VirtualBox. And I installed it. I try "Ubuntu install of Fuerte"

ayamada0614 commented 11 years ago

It sounds fine. That's the easiest way. Thanks.

jamesmith commented 11 years ago

I installed ROS in Ubuntu 12.04.

I inserted workspace path. And confirm execute gazebo_worlds.

nobyhata commented 11 years ago

Hi Guys...are you ready to close this task or any outstanding items left?

jamesmith commented 11 years ago

I begin the next step. However, I think to continue the installation of "WinROS on Windows" at the same time.