README.md 1.71 KB
Newer Older
Joseph Mirabel's avatar
Joseph Mirabel committed
1
# Graphical Interface for Pinocchio and hpp
2

Joseph Mirabel's avatar
Joseph Mirabel committed
3
## Setup
4
5
6
7
-----

To compile this package, it is recommended to create a separate build
directory:
Joseph Mirabel's avatar
Joseph Mirabel committed
8
9
10
11
12
```sh
mkdir _build && cd _build
cmake [OPTIONS] ..
make install
```
13
14
15
16

Please note that CMake produces a `CMakeCache.txt` file which should
be deleted to reconfigure a package from scratch.

Joseph Mirabel's avatar
Joseph Mirabel committed
17
## Dependencies
18
19
20
21
22
23
24
25
26
27
28
29

The Graphical Interface software depends on several packages which
have to be available on your machine.

 - Libraries:
   - urdfdom (version >= 0.3.0)
   - openscenegraph (version >= 3.2.0)
 - System tools:
   - CMake (>=2.6)
   - pkg-config
   - usual compilation tools (GCC/G++, make, etc.)

Joseph Mirabel's avatar
Joseph Mirabel committed
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
## Install standalone urdfdom

In order to read urdf files (see http://wiki.ros.org/urdf for the description), one has to install the urdfdom package which can come either along ROS library or be installed as a standalone library. Next section describes the second procedure.

urdfdom depends on both [console_bridge] and [urdfdom_headers]. The installation of both dependencies can be done with the following command lines in a terminal :
```sh
git clone git://github.com/ros/console_bridge.git && cd console_bridge
mkdir build && cd build
cmake ..
make
sudo make install

git clone git://github.com/ros/urdfdom_headers && cd urdfdom_headers
mkdir build && cd build
cmake ..
make
sudo make install
```

Finally, you just need to run the following command line to install [urdfdom] library :
```sh
git clone git://github.com/ros/urdfdom && cd urdfdom
mkdir build && cd build
cmake ..
make
sudo make install
```

[console_bridge]:https://github.com/ros/console_bridge "console_bridge"
[urdfdom_headers]:https://github.com/ros/urdfdom_headers "urdfdom_headers"
[urdfdom]:https://github.com/ros/urdfdom "urdfdom"