:)
rosbag to image 본문
python test.py --bag_file ./bag_file/gangnam_2.bag --output_dir ./image --image_topic /pylon_camera_node/image_raw
참고 자료
https://gist.github.com/wngreene/835cda68ddd9c5416defce876a4d7dd9
Extract images from a rosbag.
Extract images from a rosbag. GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
토픽정보 확인
로컬에서 실행
- 폴더 구조
|
|
|___bag_file
| |___ gangnam_2.bag
|
|___image
|
|___test.py
- 터미널 실행
python test.py --bag_file ./bag_file/gangnam_2.bag --output_dir ./image --image_topic /pylon_camera_node/image_raw
이미지 폴더
bag file to pcd
'ROS' 카테고리의 다른 글
필터기반 조향각 제어 (0) | 2022.04.11 |
---|---|
슬라이딩 윈도우 기반 차선 인식 (0) | 2022.04.10 |
원근 변환과 슬라이딩 윈도우 (0) | 2022.04.10 |
와핑기법과 원근 변환 (0) | 2022.04.10 |
허프변환 기반 차선인식 (0) | 2022.04.10 |
Comments