...
POST No. 2591692
camera imaging calibration 에러
2021-10-05 23:25:52 tosanctuary

안녕하세요 밑에 질문 올린 학생입니다.

밑에 질문처럼 하다가 안되서 이것저것 패키지를 설치해보다가 꼬인것 같습니다.

그래서 catkin_ws 폴더를 지운뒤 새로 만들어서 git clone 하여 

roslaunch turtlebot3_autorace_camera raspberry_pi_camera_publish.launch 를 실행하였더니 아래와 같습니다

 

ubuntu@ubuntu:~/catkin_ws$ roslaunch turtlebot3_autorace_camera raspberry_pi_camera_publish.launch

... logging to /home/ubuntu/.ros/log/e8eb0acc-25e6-11ec-810d-937f5392503c/roslaunch-ubuntu-5706.log

Checking log directory for disk usage. This may take a while.

Press Ctrl-C to interrupt

Done checking log file disk usage. Usage is <1GB.

 

started roslaunch server http://192.168.0.87:38961/

 

SUMMARY

========

 

PARAMETERS

 * /cv_camera/camera_info_url: package://turtleb...

 * /cv_camera/frame_id: camera

 * /cv_camera/image_height: 240

 * /cv_camera/image_width: 320

 * /cv_camera/rate: 30

 * /rosdistro: noetic

 * /rosversion: 1.15.11

 

NODES

  /

    cv_camera (cv_camera/cv_camera_node)

 

ROS_MASTER_URI=http://192.168.0.238:11311

 

process[cv_camera-1]: started with pid [5720]

[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (1758) handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module v4l2src0 reported: Cannot identify device '/dev/video0'.

[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (888) open OpenCV | GStreamer warning: unable to start pipeline

[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (480) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created

[ WARN:0] global ../modules/videoio/src/cap_v4l.cpp (887) open VIDEOIO(V4L2:/dev/video0): can't open camera by index

[ERROR] [1633443505.982725349]: cv camera open failed: device_id0 cannot be opened

[cv_camera-1] process has died [pid 5720, exit code 1, cmd /opt/ros/noetic/lib/cv_camera/cv_camera_node /cv_camera/set_camera_info:=/camera/set_camera_info /cv_camera/camera_info:=/camera/camera_info /cv_camera/image_raw:=/camera/image __name:=cv_camera __log:=/home/ubuntu/.ros/log/e8eb0acc-25e6-11ec-810d-937f5392503c/cv_camera-1.log].

log file: /home/ubuntu/.ros/log/e8eb0acc-25e6-11ec-810d-937f5392503c/cv_camera-1*.log

all processes on machine have died, roslaunch will exit

shutting down processing monitor...

... shutting down processing monitor complete

done

 

해결책 제시해주시면 감사하겠습니다..

2021-10-05 23:25:52
tosanctuary
2021-10-06 09:34:21 김보경

안녕하세요. 

해당문제는 카메라 인식이 되지 않아 발생하는 문제입니다. 

 

실기로 해당 패키지를 실행하시려면 아래 링크의 실기 카메라 세팅과정을 진행해주셔야합니다.

https://emanual.robotis.com/docs/en/platform/turtlebot3/autonomous_driving/#install-autorace-packages-1

 

 

 

감사합니다.

2021-10-06 09:34:21
rlaqhrud852
답변달기
웹에디터 시작 웹 에디터 끝