This wiki page is out-of-date. All source is available on GitHub and Bitbucket in a combination of git and hg repositories. See: http://wiki.ros.org/RecommendedRepositoryUsage/CommonGitHubOrganizations
All methods of installing ROS provide the source code, so you do not need to follow the instructions below to get the source. These instructions are provided for those who wish to use Subversion directly to manage their source tree. NOTE: the rosinstall tool provides Subversion-based checkouts as well and is generally more powerful.
For the instructions below, replace distro_name with one of boxturtle, cturtle, or unstable. You shouldn't use unstable unless you know what you are doing.
Core ROS code is hosted in the ROS project at https://code.ros.org
- To check out the core code:
svn co https://code.ros.org/svn/ros/stacks/ros/tags/distro_name ros
Check out everything in a distro. This pulls from ros-pkg and wg-ros-pkg via SVN externals:
svn co https://code.ros.org/svn/wg-ros-pkg/externals/distro/distro_name/all distro-all
To checkout a released stack:
svn co https://code.ros.org/svn/ros-pkg/stacks/stack_name/tags/distro_name stack_name svn co https://code.ros.org/svn/wg-ros-pkg/stacks/stack_name/tags/distro_name stack_name
To checkout unreleased/experimental code:
svn co https://code.ros.org/svn/ros-pkg/trunk ros-pkg svn co https://code.ros.org/svn/wg-ros-pkg/trunk wg-ros-pkg