Skip to content

Commit c627ab3

Browse files
Add explanations to generate the tests.
1 parent 74b7309 commit c627ab3

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

README.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,47 @@ dynamic-graph bindings
77

88
This ROS package binds together the ROS framework with the
99
dynamic-graph real-time control architecture.
10+
11+
12+
## ROS 2
13+
14+
### Introduction
15+
16+
To use this package you need to be in a ROS 2 workspace.
17+
18+
If you did not have one, you should first create it :
19+
```
20+
mkdir -p sot_ws/src
21+
cd sot_ws/src
22+
```
23+
###
24+
25+
### Compile and Install
26+
27+
To build this package after installing all the dependencies:
28+
```
29+
cd sot_ws
30+
colcon build --merge-install --packages-select dynamic_graph_bridge
31+
```
32+
33+
### Test
34+
35+
To test it:
36+
```
37+
colcon test --packages-select dynamic_graph_bridge
38+
```
39+
40+
This command should create a directory in the ````log```` directory:
41+
```
42+
test_dateoftoday
43+
```
44+
45+
Inside this directory there is another directory called ````dynamic_graph_bridge````
46+
47+
In this directory the file ```stdout_stderr.log``` contains the results of the tests.
48+
49+
If one of the test failed you will see the output in this specific file.
50+
To summarize, if you are at the root of your worspace, the file is located here:
51+
```
52+
./log/test_dateoftoday/dynamic_graph_bridge/stdout_stderr.log
53+
```

0 commit comments

Comments
 (0)