README.md 2.48 KB
Newer Older
1
2
3
4
5
6
7
Example robot URDFs
===============================================

## <img align="center" height="20" src="https://i.imgur.com/vAYeCzC.png"/> Introduction

This repository includes a set of robot descriptions that are aimed to be used in benchmarking. These source files do not intend to substitute original their repositories.

8

9
**Authors:**  [Carlos Mastalli](https://cmastalli.github.io/), Guilhem Saurel <br />
10
**With additional support from the Gepetto team at LAAS-CNRS.**
11
12

[![pipeline status](https://gepgitlab.laas.fr/gepetto/example-robot-data/badges/master/build.svg)](https://gepgitlab.laas.fr/Gepetto/example-robot-data/commits/master)
13
14
15


## <img align="center" height="20" src="https://i.imgur.com/x1morBF.png"/> Installation
16
17
18
19
20
You can install this package throught robotpkg. robotpkg is a package manager tailored for robotics softwares. It
greatly simplifies the release of new versions along with the management of their dependencies. You just need to add
the robotpkg apt repository to your sources.list and then use `sudo apt install robotpkg-example-robot-data` or `sudo
apt install robotpkg-py27-example-robot-data` (or `py3X` for python 3.X, depending on your system) if you need the
Python loaders.
21
22

### Add robotpkg apt repository
23
If you have never added robotpkg as a softwares repository, please follow first the instructions from 1 to 3. Otherwise, go directly to instruction 4. Those instructions are similar to the installation procedures presented in [http://robotpkg.openrobots.org/debian.html](http://robotpkg.openrobots.org/debian.html).
24

25
1. Add robotpkg as source repository to apt:
26

27
28
29
30
		sudo tee /etc/apt/sources.list.d/robotpkg.list <<EOF
		deb [arch=amd64] http://robotpkg.openrobots.org/wip/packages/debian/pub $(lsb_release -sc) robotpkg
		deb [arch=amd64] http://robotpkg.openrobots.org/packages/debian/pub $(lsb_release -sc) robotpkg
		EOF
31

32
2. Register the authentication certificate of robotpkg:
33
34
35

		curl http://robotpkg.openrobots.org/packages/debian/robotpkg.key | sudo apt-key add -

36
3. You need to run at least once apt update to fetch the package descriptions:
37
38
39

		sudo apt-get update

40
4. The installation of example-robot-data:
41
42

		sudo apt install robotpkg-example-robot-data
Guilhem Saurel's avatar
Guilhem Saurel committed
43
44
45
46


## Show the robot

47
(you will need pinocchio and its Python bindings)
Guilhem Saurel's avatar
Guilhem Saurel committed
48

49
`python -m example_robot_data [anymal,anymal_kinova,hyq,solo,solo12,talos,talos_arm,talos_legs,tiago,tiago_no_hand,icub,ur5]`
50
51
52

This will work from the `python` subdirectory inside this repository, or if this package has been installed on your
system.