download.html 4.01 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
---
layout: default
title: Download
group: navigation
---

<h1 id="download" class="page-header">{{ page.title }}</h1>


<h2>How to install the stack of tasks on your machine?</h2>

<h2>Prerequisites</h2>
<p>The current software architecture has been tested entirely only on 
Olivier Stasse's avatar
Olivier Stasse committed
14
  Ubuntu 12.04 LTS, Ubuntu 14.04 LTS and is currently being ported on 16.04 LTS.
15
  
Olivier Stasse's avatar
Olivier Stasse committed
16
  A large part of the basic algorithms have been tested on Windows and Mac a while go, but there is no guarantee that it is still true.
17
18
</p>

Olivier Stasse's avatar
Olivier Stasse committed
19
20
<p>We advise the use of robotpkg to install the Stack of Tasks. You can try the install from the source code
 but we rather advice its <a href="http://robotpkg.openrobots.org/debian.html">binary repository</a>.
21
<p>
Olivier Stasse's avatar
Olivier Stasse committed
22
  
23
24
25
26
  
  <h3>Dependencies</h3>

  The needed software are:
Olivier Stasse's avatar
Olivier Stasse committed
27
  git, CMake, boost, lapack, blas, python 2.7
28
29
30
31
32
33
34
35
36
37

  <ul>
    <li>CMake</li>
    <li>gcc, g++</li>
    <li>Doxygen (and eventually LaTeX for mathematical formula rendering)</li>
    <li>Boost</li>
    <li>Eigen</li>
    <li>Blas, lapack</li>
  </ul>
  
Olivier Stasse's avatar
Olivier Stasse committed
38
  ROS (fuerte, groovy, hydro, indigo).
39
  Please note that most of the packages are ROS-independent, but some packages 
Olivier Stasse's avatar
Olivier Stasse committed
40
  allow to link the SOT framework to ROS (e.g. dynamic_graph_bridge, redundant_manipulator_control)
41
42
43
44
</p>

<h2>Binary installation</h2>

Olivier Stasse's avatar
Olivier Stasse committed
45
<p>
Olivier Stasse's avatar
Olivier Stasse committed
46
47
We are currently providing the stack of tasks through robotpkg on Ubuntu 12.04 LTS (i386/amd64),
and Ubuntu 14.04 LTS (amd64).
Olivier Stasse's avatar
Olivier Stasse committed
48
</p>
49

Olivier Stasse's avatar
Olivier Stasse committed
50
<p>
Olivier Stasse's avatar
Olivier Stasse committed
51
52
Please follow the instructions given <a href="http://robotpkg.openrobots.org/debian.html">here</a> to
access the package repository.
Olivier Stasse's avatar
Olivier Stasse committed
53
</p>
54

Olivier Stasse's avatar
Olivier Stasse committed
55
56
<p>
To install the package sot-core-v3 you can use
Olivier Stasse's avatar
Olivier Stasse committed
57
<pre> <code class="bash">apt-get install robotpkg-sot-core-v3</code></pre>
Olivier Stasse's avatar
Olivier Stasse committed
58
</p>
59
60
<h2>Source installation</h2>

61
<p>
Olivier Stasse's avatar
Olivier Stasse committed
62
63
64
65
66
67
68
  The source installation can be realized through robotpkg.
  Please follow the instructions given <a href="http://robotpkg.openrobots.org/install.html">here</a> to
  access the package repository.
  You will also have to install the wip (work in progress) part of robotpkg. The installation procedure is described
  <a href="http://robotpkg.openrobots.org/robotpkg-wip.html">here</a>

  To install the package sot-core-v3 then you can type:
Olivier Stasse's avatar
Olivier Stasse committed
69
70
  <pre><code class="bash">cd robotpkg/wip/sot-core-v3
make install</code> </pre>
Olivier Stasse's avatar
Olivier Stasse committed
71
    
72
</p>
73

74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!--
<h3>Windows</h3>
Again, the support on windows is not provided.
However, if you want to give it a try, here are some leads that you can follow 
for a first push.

<h4>Windows</h4>
You can download some of the external dependencies there:
<ul>
  <li><a href="">cmake</a></li>
  <li><a href="http://sphinx-doc.org/install.html#windows-install-python-and-sphinx">Python and sphinx</a></li>
  <li><a href="">Compilation script</a>This compilation script is way simpler than Ubuntu's one</li>
</ul>

One "trick" consists in using git bash to compile all the packages in command line.
-->
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121

<script type="text/javascript">
  $(function () { $('#howto a:last').tab('show') })
</script>

<script type="text/javascript">
  package_badge = function(package, element) {
  $.getJSON("http://api.oswatershed.org/api/0.1/package.json?cb=?", {package: package}, function(data) {
  $(element).css({"font-family": "sans-serif"})
  $(element).append('<a style="color: black; text-decoration: none;" id="pkglink" href="http://oswatershed.org/pkg/'+data.package+'"></a>');
  $(element+" #pkglink").append(data.package);
  $(element+" #pkglink").append('<strong> '+data.latest+'</strong>');
  $.each(data.distros, function(i,distro) {
  $(element+" #pkglink").append('<img style="border: none; padding-left: 8px; padding-right: 4px;" src="http://static.oswatershed.org/'+distro.logo+'" />');
  if (distro.uptodate)
  $(element+" #pkglink").append('<strong>'+distro.version+'</strong>');
  else
  $(element+" #pkglink").append(distro.version);
  });
  }, "jsonp");
  }
</script>

{% for package in site.data.packages %}
{% if package.status == 'stable' %}
<script type="text/javascript">
  $(document).ready(function(){ package_badge("{{ package.github }}", "#osw_{{ package.github }}"); });
</script>
{% endif %}
{% endfor %}

<div style="padding: 10em"></div>