Skip to content

Commit

Permalink
Add --exclude-topics and --exclude-services for record command
Browse files Browse the repository at this point in the history
Signed-off-by: Barry Xu <[email protected]>
  • Loading branch information
Barry-Xu-2018 committed Jun 27, 2023
1 parent 23d44bc commit dd5ede2
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions docs/design/rosbag2_record_replay_service.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ The following criteria will be used to determine a service event topic:

### Expand the 'record' command

Add 3 parameters.
Add 5 parameters.

- `-S ServiceName1 [ServiceName2 ...]` or `--services ServiceName1 [ServiceName2 ...]`
- `--services ServiceName1 [ServiceName2 ...]`

Specify which services will be recorded. User must specify at least one service.

Expand All @@ -46,15 +46,26 @@ Add 3 parameters.

Record all service event topics.

- `--exclude-topics`

Rename from `--exclude`. Exclude topics containing provided regular expression.

- `--exclude-services`

Exclude services containing provided regular expression.

The description of the relevant parameter behavior.

| Parameter | Description |
| :-- | :--|
|--include-hidden-topics| Record all hidden topics. Include service event topic. |
|--services ServiceName1 [ServiceName2 ...] | Record services (service event topics) with specified service names. |
| --all | Record all topics and service event topics. Other hidden topics are excluded. |
| --all-topics | Record all topics. Hidden topic are excluded (include service event topic). |
| --all-topics | Record all topics. Hidden topics including service event topics are excluded. |
| --all-services | Only record all service event topics. |
| --exclude-topics | Exclude topics containing provided regular expression. |
| --exclude-services | Exclude services containing provided regular expression. |
| -e REGEX, --regex REGEX | Record only topics and service containing provided regular expression. |

### Change output of 'Info' command

Expand Down

0 comments on commit dd5ede2

Please sign in to comment.