Notice
Recent Posts
Recent Comments
Link
«   2025/06   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Archives
Today
Total
관리 메뉴

:)

rosbag to image 본문

ROS

rosbag to image

mihee 2022. 7. 8. 16:32
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