Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions README.ko-KR.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- `ulog_params`: ULog 파일에 저장된 파라미터들을 추출합니다.
- `ulog2csv`: ULog 파일을 CSV 파일로 변환합니다.
- `ulog2kml`: ULog 파일을 KML 파일로 변환합니다.
- `ulog2ros2bag`: ULog 파일을 ros2bag 파일로 변환.


## 설치
Expand Down Expand Up @@ -212,26 +213,28 @@ optional arguments:
Camera trigger topic name (e.g. camera_capture)
```

### ULog 파일을 rosbag 파일로 변환 (ulog2rosbag)
### ULog 파일을 ros2bag 파일로 변환 (ulog2ros2bag)

> **Note** `px4_msgs`가 설치된 ROS 환경이 필요합니다.
> **Note** `px4_msgs`가 설치된 ROS2 환경이 필요합니다.

사용:
```
usage: ulog2rosbag [-h] [-m MESSAGES] file.ulg result.bag
usage: ulog2ros2bag.py [-h] [-o BAG] [-m MESSAGES] [-i] [-v] file.ulg

Convert ULog to rosbag

positional arguments:
file.ulg ULog input file
result.ulg rosbag output file

optional arguments:
options:
-h, --help show this help message and exit
-o BAG, --output BAG rosbag output folder
-m MESSAGES, --messages MESSAGES
Only consider given messages. Must be a comma-
separated list of names, like
'sensor_combined,vehicle_gps_position'
-i, --ignore Ignore string parsing exceptions
-v, --verbose Print extra debugging information
```
### Migrate/setup the database for use with the DatabaseULog class (ulog_migratedb)

Expand Down
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ The provided [command line scripts](#scripts) are:
- `ulog_params`: extract parameters from an ULog file.
- `ulog2csv`: convert ULog to CSV files.
- `ulog2kml`: convert ULog to KML files.
- `ulog2ros2bag`: convert ULog to ROS2 bag files.


## Installation
Expand Down Expand Up @@ -212,27 +213,30 @@ optional arguments:
Camera trigger topic name (e.g. camera_capture)
```

### Convert ULog to rosbag files (ulog2rosbag)
### Convert ULog to ROS2 bag files (ulog2ros2bag)

> **Note** You need a ROS environment with `px4_msgs` built and sourced.
> **Note** You need a ROS2 environment with the corresponding version of `px4_msgs` built and sourced.

Usage:
```
usage: ulog2rosbag [-h] [-m MESSAGES] file.ulg result.bag
usage: ulog2ros2bag.py [-h] [-o BAG] [-m MESSAGES] [-i] [-v] file.ulg

Convert ULog to rosbag

positional arguments:
file.ulg ULog input file
result.ulg rosbag output file

optional arguments:
options:
-h, --help show this help message and exit
-o BAG, --output BAG rosbag output folder
-m MESSAGES, --messages MESSAGES
Only consider given messages. Must be a comma-
separated list of names, like
'sensor_combined,vehicle_gps_position'
-i, --ignore Ignore string parsing exceptions
-v, --verbose Print extra debugging information
```

### Migrate/setup the database for use with the DatabaseULog class (ulog_migratedb)

> **Warning** This command must be run whenever the schema changes, otherwise DatabaseULog won't function.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ ulog_messages = "pyulog.messages:main"
ulog_params = "pyulog.params:main"
ulog2csv = "pyulog.ulog2csv:main"
ulog2kml = "pyulog.ulog2kml:main"
ulog2rosbag = "pyulog.ulog2rosbag:main"
ulog2ros2bag = "pyulog.ulog2ros2bag:main"
ulog_migratedb = "pyulog.migrate_db:main"

[project.urls]
Expand Down
Loading
Loading