ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
It's probably possible, but seems a bit unnecessary.
ROS has various tools for managing source checkouts, such as vcstool, wstool and rosinstall_generator.
For binary management and installation -- of both ROS package dependencies as well as system dependencies -- rosdep is used.
Setting up a source workspace from a given my_awesome_ros_application.rosinstall (which only contains references to source repositories of your own packages or forks of upstream packages) file is a matter of:
$ source /opt/ros/$distro/setup.bash
$ mkdir $HOME/catkin_ws && cd $HOME/catkin_ws
$ sudo rosdep init && rosdep update
$ wstool init -j8 $HOME/catkin_ws/src http://location/of/your/my_awesome_ros_application.rosinstall
$ rosdep install -y --from-paths $HOME/catkin_ws/src --ignore-src -y
At this point you'll have your entire system setup to start developing on the packages.
2 | No.2 Revision |
It's probably possible, but seems a bit unnecessary.
ROS has various tools for managing source checkouts, such as vcstool, wstool and rosinstall_generator.
For binary management and installation -- of both ROS package dependencies as well as system dependencies -- rosdep is used.
Setting up a source workspace from a given my_awesome_ros_application.rosinstall (which only contains references to source repositories of your own packages or forks of upstream packages) file is a matter of:
$ source /opt/ros/$distro/setup.bash
$ mkdir $HOME/catkin_ws && cd $HOME/catkin_ws
$ sudo rosdep init && rosdep update
$ wstool init -j8 $HOME/catkin_ws/src http://location/of/your/my_awesome_ros_application.rosinstall
$ rosdep install -y --from-paths $HOME/catkin_ws/src --ignore-src -y
At this point you'll have your entire system setup to start developing on the packages.
My suggestion would be to store only the source repositories of your own packages, and deploy dependencies from the binary repositories as much as possible. Using released binaries is preferably in any case, unless:
3 | No.3 Revision |
It's probably possible, but seems a bit unnecessary.
ROS has various tools for managing source checkouts, such as vcstool, wstool and rosinstall_generator.
For binary management and installation -- of both ROS package dependencies as well as system dependencies -- rosdep is used.
Setting up a source workspace from a given my_awesome_ros_application.rosinstall file (which only contains references to source repositories of your own packages or forks of upstream packages) file is a matter of:
$ source /opt/ros/$distro/setup.bash
$ mkdir $HOME/catkin_ws && cd $HOME/catkin_ws
$ sudo rosdep init && rosdep update
$ wstool init -j8 $HOME/catkin_ws/src http://location/of/your/my_awesome_ros_application.rosinstall
$ rosdep install -y --from-paths $HOME/catkin_ws/src --ignore-src -y
At this point you'll have your entire system setup to start developing on the packages.
My suggestion would be to store only the source repositories of your own packages, and deploy dependencies from the binary repositories as much as possible. Using released binaries is preferably in any case, unless:
4 | No.4 Revision |
It's probably possible, but seems a bit unnecessary.
ROS has various tools for managing source checkouts, such as vcstool, wstool and rosinstall_generator.
For binary management and installation -- of both ROS package dependencies as well as system dependencies -- rosdep is used.
Setting up a source workspace from a given my_awesome_ros_application.rosinstall file (which only contains references to source repositories of your own packages or forks of upstream packages) is a matter of:
$ source /opt/ros/$distro/setup.bash
$ mkdir $HOME/catkin_ws && cd $HOME/catkin_ws
# init only needed once, update regularly
$ sudo rosdep init && rosdep update
$ source /opt/ros/$distro/setup.bash
# create and populate workspace (done once)
$ mkdir $HOME/catkin_ws && cd $HOME/catkin_ws
$ wstool init -j8 $HOME/catkin_ws/src http://location/of/your/my_awesome_ros_application.rosinstall
$ rosdep install -y --from-paths $HOME/catkin_ws/src --ignore-src -y
At this point you'll have your entire system setup to start developing on the packages.packages. Change management can be done per repo, or when using vcstool
per workspace.
My suggestion would be to store only the source repositories of your own packages, packages (not the entire catkin_ws
), and deploy dependencies from the binary repositories as much as possible. Using released binaries is preferably in any case, unless:
5 | No.5 Revision |
It's probably possible, but seems a bit unnecessary.
ROS has various tools for managing source checkouts, such as vcstool, wstool and rosinstall_generator.
For binary management and installation -- of both ROS package dependencies as well as system dependencies -- rosdep is used.used (#q215059).
Setting up a source workspace from a given my_awesome_ros_application.rosinstall file (which only contains references to source repositories of your own packages or forks of upstream packages) is a matter of:
# init only needed once, update regularly
$ sudo rosdep init && rosdep update
$ source /opt/ros/$distro/setup.bash
# create and populate workspace (done once)
$ mkdir $HOME/catkin_ws && cd $HOME/catkin_ws
$ wstool init -j8 $HOME/catkin_ws/src http://location/of/your/my_awesome_ros_application.rosinstall
$ rosdep install -y --from-paths $HOME/catkin_ws/src --ignore-src -y
At this point you'll have your entire system setup to start developing on the packages. Change management can be done per repo, or when using vcstool
per workspace.
My suggestion would be to store only the source repositories of your own packages (not the entire catkin_ws
, #q264600), and deploy dependencies from the binary repositories as much as possible. Using released binaries is preferably in any case, unless:
6 | No.6 Revision |
It's probably possible, but seems a bit unnecessary.unnecessary (and somewhat infeasible: how are you going to manage tracking upstream?).
ROS has various tools for managing source checkouts, such as vcstool, wstool and rosinstall_generator.
For binary management and installation -- of both ROS package dependencies as well as system dependencies -- rosdep is used (#q215059).
Setting up a source workspace from a given my_awesome_ros_application.rosinstall file (which only contains references to source repositories of your own packages or forks of upstream packages) is a matter of:
# init only needed once, update regularly
$ sudo rosdep init && rosdep update
$ source /opt/ros/$distro/setup.bash
# create and populate workspace (done once)
$ mkdir $HOME/catkin_ws && cd $HOME/catkin_ws
$ wstool init -j8 $HOME/catkin_ws/src http://location/of/your/my_awesome_ros_application.rosinstall
$ rosdep install -y --from-paths $HOME/catkin_ws/src --ignore-src -y
At this point you'll have your entire system setup to start developing on the packages. Change management can be done per repo, or when using vcstool
per workspace.
My suggestion would be to store only the source repositories of your own packages (not the entire catkin_ws
, #q264600), and deploy dependencies from the binary repositories as much as possible. Using released binaries is preferably in any case, unless:
7 | No.7 Revision |
It's probably possible, but seems a bit unnecessary (and somewhat infeasible: how are you going to manage tracking upstream?).
ROS has various tools for managing source checkouts, such as vcstool, wstool and rosinstall_generator.
For binary management and installation -- of both ROS package dependencies as well as system dependencies -- rosdep is used (#q215059).
Setting up a source workspace from a given my_awesome_ros_application.rosinstall file (which only contains references to source repositories of your own packages or forks of upstream packages) is a matter of:
# init only needed once, update regularly
$ sudo rosdep init && rosdep update
$ source /opt/ros/$distro/setup.bash
# create and populate workspace (done once)
$ mkdir $HOME/catkin_ws && cd $HOME/catkin_ws
$ wstool init -j8 $HOME/catkin_ws/src http://location/of/your/my_awesome_ros_application.rosinstall
$ rosdep install -y --from-paths $HOME/catkin_ws/src --ignore-src -y
At this point you'll have your entire system setup to start developing on the packages. Change management can be done per repo, or when using vcstool
per workspace.
My suggestion would be to store only the source repositories of your own packages (not the entire catkin_ws
, #q264600), and deploy dependencies from the binary repositories as much as possible. Using released binaries is preferably preferable in any case, unless: