README.md 981 Bytes
Newer Older
Victor Lamoine's avatar
Victor Lamoine committed
1
[![Institut Maupertuis logo](http://www.institutmaupertuis.fr/media/gabarit/logo.png)](http://www.institutmaupertuis.fr)
Victor Lamoine's avatar
Victor Lamoine committed
2
3
4

This is a ROS package demonstrating a simple ROS test usage.

Victor Lamoine's avatar
Victor Lamoine committed
5
# Directories in the project
Victor Lamoine's avatar
Victor Lamoine committed
6
7
8
9
10
11
12

| Directory  | Description
------------ | -----------
`src` | Contains the service implementation (a ROS node)
`srv` | Contains the service definition
`test` | Contains the test node (service client) and corresponding launch file

Victor Lamoine's avatar
Victor Lamoine committed
13
# Dependencies
Victor Lamoine's avatar
Victor Lamoine committed
14
15
- [Robot Operating System](http://wiki.ros.org/ROS/Installation)

Victor Lamoine's avatar
Victor Lamoine committed
16
# Compiling and launching the tests
Victor Lamoine's avatar
Victor Lamoine committed
17
18
19
20
21
22
23
24
25
26
27
28
29
30


Install the dependencies by following the wiki instructions and cloning the repositories into your catkin workspace.

`cd` to your catkin workspace source directory:
```bash
git clone https://gitlab.com/InstitutMaupertuis/simple_rostest.git
cd ..
```

`catkin_make`
---

```bash
Andres Campos's avatar
Andres Campos committed
31
catkin_make run_tests_simple_rostest
Victor Lamoine's avatar
Victor Lamoine committed
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
```

Or
```bash
catkin_make tests
catkin_make test
```

`catkin tools`
---

```bash
catkin test
```