Source installation with ROS
To compile all the packages in a ROS workspace, you can follow these steps:
-
Choose, setup, and activate a ROS distribution: https://www.ros.org/blog/getting-started/
-
Choose a directory on your file system which we will call
DEVEL_HPP_DIR.- the packages will be cloned into
$DEVEL_HPP_DIR/src, - the packages will be installed in
$DEVEL_HPP_DIR/install.
Create that directory and enter inside
- the packages will be cloned into
-
Download our repos file to clone HPP packages with vcs2l:
```bash
mkdir -p $DEVEL_HPP_DIR/src
wget -O $DEVEL_HPP_DIR/hpp.repos https://raw.githubusercontent.com/humanoid-path-planner/hpp-doc/devel/ros/devel.repos
vcs import --input hpp.repos src
```
- Compile all packages with colcon:
```bash
colcon build
```
- Activate the install prefix of the workspace
```bash
source install/setup.bash
```