Skip to content

Commit

Permalink
Add README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetkillioglu committed Jan 30, 2024
1 parent 51a2ecf commit 5d5fad9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## FastDDS locator identification using fastdds_statistics_backend

Build docker image

```bash
docker build --output type=docker -t fastdds_monitor .
```

Run
```bash
docker run --rm -it --network="host" --name=fastdds-monitor fastdds_monitor:latest
```

At the initial start, there might be quite a log about the discoveries of topics and participants.

After a while, every five seconds, the locators for each participant will be logged.

### Ros2 node name matching

Normally, the participants do not have a name in the DDS network. However, each of the ROS2 node has the default services as (`/NAMESPACE/NODE_NAME/get_parameters`). The script uses the regex below to match the ROS2 nodes' topics and participants using the first partition of the GUID.

```
^DataReader_rq/(.+)/get_parametersRequest_[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+$
```

0 comments on commit 5d5fad9

Please sign in to comment.