Skip to content

Commit

Permalink
Create ros.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ahangchen authored Mar 22, 2022
1 parent a316660 commit 0c578a0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions kit/ros.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# ROS

- 从某个时间开始play bag:`rosbag play -t 10 xxx.bag`,其中,10的单位为秒,表示从多少秒开始play
- crop bag中的一段:`rosbag filter xxx.bag t.to_sec() >=163465898.xxx`,取bag中符合filter条件的部分
- 列出所有topic:
- rostopic list
- rostopic list -b xxx.bag
- 打印某个topic具体内容:
- `rostopic echo /topic`
- `rostopic echo /topic -b xxx.bag`

0 comments on commit 0c578a0

Please sign in to comment.