Skip to content

Commit 411359c

Browse files
authored
Merge pull request #71 from tue-robotics/add/readme_tools
Create README.md for tools
2 parents 24d3a6a + c07e4a2 commit 411359c

File tree

3 files changed

+51
-26
lines changed

3 files changed

+51
-26
lines changed

ed_sensor_integration/README.md

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -34,31 +34,7 @@ Interfaces:
3434
* bar
3535

3636
## Tools
37-
38-
* `ed_image_saver`: Shows RGBD image stream and allows to save images. Example usage (N.B.: use robot name as a namespace):
39-
40-
```bash
41-
rosrun ed_sensor_integration ed_image_saver __ns:=hero
42-
```
43-
44-
and once you see an image in a CV window popping up, press the space bar to save it. The tool will write a json and rgbd file to the current folder with a timestamp as filename.
45-
46-
* `ed_segmenter`: Iterates over snapshots in a directory, performs a Kinect update and displays the result. To run:
47-
48-
```bash
49-
rosrun ed_sensor_integration ed_segmenter <stamp>.json
50-
```
51-
52-
This includes the entire 'update' sequence, including (but not limited to):
53-
54-
* Updating entity position
55-
* Updating sensor pose
56-
* Removing the background
57-
* Clearing convex hulls that are no longer there
58-
* Clustering
59-
* Merging overlapping convex hulls
60-
* Associate and update entities
61-
* Removing entities that are not associated
37+
Several tools are available for testing the features of this repository. These can be found in the [tools](tools) along with their [documentation](tools/README.md).
6238

6339
## Issues with current toolchain
6440

ed_sensor_integration/rosdoc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
- builder: doxygen
22
name: C++ API
3-
file_patterns: '*.c *.cpp *.h *.hpp'
3+
file_patterns: '*.c *.cpp *.h *.hpp *.md'
44
tab_size: 4
55
use_mdfile_as_mainpage: README.md
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Tools
2+
3+
## image saver
4+
5+
* `ed_image_saver`: Shows RGBD image stream and allows to save images. Example usage (N.B.: use robot name as a namespace):
6+
7+
```bash
8+
rosrun ed_sensor_integration ed_image_saver __ns:=hero
9+
```
10+
11+
and once you see an image in a CV window popping up, press the space bar to save it. The tool will write a `json` and `rgbd` file to the current folder with a timestamp as filename.
12+
13+
## fitter
14+
15+
* `ed_fitter_live`: Shows RGB image stream and a visualization to show the fitting process. Example usage (N.B.: use robot name as a namespace):
16+
17+
```bash
18+
rosrun ed_sensor_integration ed_fitter_live <worldmodel_name> <entity_id> <rgbd_topic>
19+
```
20+
21+
This visualises an image like the one below. With the original pose of the entity in blue and the newly fitted pose in yellow. The data used to fit the object is shown in purple.
22+
23+
![RGB image shown during fitter](https://user-images.githubusercontent.com/19806646/192571873-c9b42db6-8611-454b-b77f-8cae570de626.png)
24+
![Visualisation of the fitting](https://user-images.githubusercontent.com/19806646/192572064-e583e295-8fcd-4a09-83ac-a71ff79d871d.png)
25+
26+
* `ed_fitter_data`: Similar to the above if one wishes to visualise the fitting using a saved rgbd image. Iterates over snapshots in a directory, performs a Fit and displays the result. To run:
27+
28+
```bash
29+
rosrun ed_sensor_integration ed_fitter_data <stamp>.json <worldmodel_name> <entity_id>
30+
```
31+
32+
## segmenter
33+
34+
* `ed_segmenter`: Iterates over snapshots in a directory, performs a Kinect update and displays the result. To run:
35+
36+
```bash
37+
rosrun ed_sensor_integration ed_segmenter <stamp>.json
38+
```
39+
40+
This includes the entire 'update' sequence, including (but not limited to):
41+
42+
* Updating entity position
43+
* Updating sensor pose
44+
* Removing the background
45+
* Clearing convex hulls that are no longer there
46+
* Clustering
47+
* Merging overlapping convex hulls
48+
* Associate and update entities
49+
* Removing entities that are not associated

0 commit comments

Comments
 (0)