Skip to content

Commit

Permalink
🔄 synced local 'docs' with remote 'cheatsheets'
Browse files Browse the repository at this point in the history
  • Loading branch information
HansRobo committed Feb 6, 2025
1 parent 34881ef commit b24c508
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/ROS Tips.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ pkg.evaluate_conditions(os.environ)
```

[catkin\_pkg/condition.py L47](https://github.com/ros-infrastructure/catkin_pkg/blob/master/src/catkin_pkg/condition.py#L47)
`$`付き文字が抽出されて...
`$`付き文字が抽出されて

```python
identifier = pp.Word('$', pp.alphanums + '_', min=2).setName('identifier')
Expand Down
6 changes: 3 additions & 3 deletions docs/ROS Tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,20 +107,20 @@ sudo apt install ros-$ROS_DISTRO-grepros
```
<https://github.com/suurjaak/grepros>

メッセージの型やトピック名,frame_idでフィルタリングしたり...
メッセージの型やトピック名,frame_idでフィルタリングしたり

```bash
grepros frame_id=map --type geometry_msgs/* --live
grepros --topic *lidar* --max-per-topic 1 --live
```

出力結果を新しいbagファイルに書き込んだり...
出力結果を新しいbagファイルに書き込んだり

```bash
grepros --max-per-topic 1 --lines-per-message 30 --live --no-console-output --write my.bag
```

現在のフォルダ以下にあるbagファイルの中で文字列検索が出来たり...
現在のフォルダ以下にあるbagファイルの中で文字列検索が出来たり

```bash
grepros -r "keyword"
Expand Down

0 comments on commit b24c508

Please sign in to comment.