Skip to content
Snippets Groups Projects
Commit fb94c952 authored by Jeremie Deray's avatar Jeremie Deray
Browse files

update readme

parent 050b90c6
No related branches found
No related tags found
1 merge request!91catkin build
...@@ -218,63 +218,73 @@ Alternatively, you can set up the environment variables in your GUIs only. Follo ...@@ -218,63 +218,73 @@ Alternatively, you can set up the environment variables in your GUIs only. Follo
Using the `catkin_tools` package Using the `catkin_tools` package
-------------------------------- --------------------------------
1. Install `catkin_tools` : 1. Install `catkin_tools` :
[`installation webpage.`](https://catkin-tools.readthedocs.io/en/latest/installing.html) [`installation webpage.`](https://catkin-tools.readthedocs.io/en/latest/installing.html)
* Installing on Ubuntu with `apt-get` . Installing on Ubuntu with `apt-get`
```terminal ```terminal
$ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu `lsb_release -sc` main" > /etc/apt/sources.list.d/ros-latest.list' $ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu `lsb_release -sc` main" > /etc/apt/sources.list.d/ros-latest.list'
$ wget http://packages.ros.org/ros.key -O - | sudo apt-key add - $ wget http://packages.ros.org/ros.key -O - | sudo apt-key add -
$ sudo apt-get update $ sudo apt-get update
$ sudo apt-get install python-catkin-tools $ sudo apt-get install python-catkin-tools
``` ```
* Installing with [`pip`](https://pip.pypa.io/en/stable/installing/) . Installing with [`pip`](https://pip.pypa.io/en/stable/installing/)
```terminal ```terminal
$ sudo pip install -U catkin_tools $ sudo pip install -U catkin_tools
``` ```
2. Create a `catkin workspace` : 2. Create a `catkin workspace` :
```terminal ```terminal
$ cd ~/my_folder/ $ cd ~/my_workspace_directory/
$ create mkdir -p wolf_ws/src $ create mkdir -p wolf_ws/src
$ cd wolf_ws/src $ cd wolf_ws/src
``` ```
3. Download `Ceres` : 3. Download `Ceres` :
```terminal In the previously created directory `~/my_workspace_directory/wolf_ws/src/` clone `Ceres` & `wolf`.
$ git clone https://github.com/artivis/ceres_solver.git
```
4. Download `wolf` : ```terminal
$ git clone https://github.com/artivis/ceres_solver.git
```
```terminal 4. Download `wolf` :
$ git clone https://github.com/artivis/wolf.git
```
At this point you might need to switch to the `catkin_build` branch of the wolf project. ```terminal
$ git clone https://gitlab.iri.upc.edu/mobile_robotics/wolf.git
```
```terminal At this point you might need to switch to the `catkin_build` branch of the wolf project.
$ cd wolf
$ git checkout catkin_build
```
5. Download `wolf_ros` : ```terminal
$ cd wolf
$ git checkout catkin_build
```
```terminal . (optional) Download `wolf_ros` :
$ git clone https://github.com/IRI-MobileRobotics/Wolf_ros.git
```
6. Let's Compile ! ```terminal
$ git clone https://github.com/IRI-MobileRobotics/Wolf_ros.git
```
```terminal 5. Let's Compile !
$ catkin build
``` The command below can be launch from any sub-directory in `~/my_workspace_directory/wolf_ws/`.
```terminal
$ catkin build
```
6. Run tests:
```terminal
$ catkin run_tests
```
Inspiring Links Inspiring Links
--------------- ---------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment